From: Barney, K. L <Ker...@us...> - 2011-04-14 15:29:00
|
I am new to CSQL, and have installed csql3.0-linux-x86_64 on 64 bit linux. When I try to run csql it fails with the following- csql: symbol lookup error: /usr/lib64/libreadline.so.5: undefined symbol: PC csqlserver is running and I could successfully connect to the DSN with isql. My $HOME/.odbc.ini file looks like this: [psql] Description = Postgres ODBC Data source Driver = /usr/lib64/libodbcpsql.so Database = dev2 Servername = localhost UserName = myuser Password = mypassword Port = 5432 ReadOnly = No I built Postgres from the source code and I got the same error as shown below: g++ -O2 -I/home/nihar/jdk1.6.0_11/include -I/home/nihar/jdk1.6.0_11/include/linux -o .libs/csql isql.o -lr t -lpthread -lcrypt -lreadline ../../src/storage/.libs/libcsql.so ../../src/sql/.libs/libcsqlsql.so ../../s rc/sqllog/.libs/libcsqlsqllog.so ../../src/network/.libs/libcsqlnw.so ../../src/adapter/.libs/libcsqlodbcad apter.so ../../src/gateway/.libs/libcsqlgw.so ../../src/cache/.libs/libcacheload.so -lodbc ../../src/sqlnet work/.libs/libcsqlsqlnw.so -Wl,--rpath -Wl,/home/nihar/CSQLRELEASE/OPENSOURCE/csql3.2GA-src/install/lib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `PC' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetent' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `UP' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tputs' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgoto' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `BC' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status Kerry Barney Database Administrator Platforms, United Space Alliance Kennedy Space Center, FL 321-861-7467 |