From: Andrew M. <an...@ob...> - 2004-12-14 21:44:13
|
> File "/usr/lib/python2.3/site-packages/Sybase.py", line 20, in ? > from sybasect import * >ImportError: libct.so.2: cannot open shared object file: No such file >or directory >----------------------- > >The output for "ldd /usr/lib/python2.3/site-packages/sybasect.so" is: > >----------------------- > libct.so.2 => not found > libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00a03000) > libc.so.6 => /lib/tls/libc.so.6 (0x00374000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00929000) >----------------------- > >But the file "libct.so.2" is at "/usr/local/lib/". Here is the output >for "ll /usr/local/lib/libct.so*": You might want to try: LD_LIBRARY_PATH=/usr/local/lib python -ic "import Sybase" -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/ |