From: Mr. D. <bit...@ho...> - 2006-05-27 10:52:14
|
Hi everyone, I've seen a post on this before, but changing the libraries for linux in setup.py to have syb didn't help me. I have installed OCS-15_0 (the linuxamd64 sdk purchase from sybase) I also have sybperl-2.18, freetds-.63, DBD-Sybase 1.07 installed, python-2.3.5 After installing sybase-0.37, I'm trying to get past this error when I go into the python shell. I would like to use python to make a query to our ASE 11.9.2 server. However, the sybase module for python sybase-0.37 is unable to 'import Sybase' Open Client libraries(OCS-15_0). There is no error during the build or installation, but I get this error when I try to import Sybase. :/usr/local/sybase.production/OCS-15_0> python Python 2.3.5 (#8, Mar 24 2005, 08:32:27) [GCC 3.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. import Sybase Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/Sybase.py", line 20, in ? from sybasect import * ImportError: /usr/local/lib/python2.3/site-packages/sybasect.so: undefined symbol: cs_dt_info :/usr/local/src> ldd /usr/local/lib/python2.3/site-packages/sybasect.so libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a9567e000) libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95792000) /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000) Thanks for any help, ~DjK |