[python-sybase] relocation error when importing Sybase
Don Kiphart
dak at predict.com
Wed Nov 23 03:20:45 EST 2005
On Nov 22, 2005, at 9:07 AM, Marcos Sánchez Provencio wrote:
> It seems that we need more explicit error messages ;-)
>
> El lun, 21-11-2005 a las 12:20 +1100, Gregory Bond escribió:
>> Victor Lu wrote:
>>
>>> ImportError: ld.so.1: python: fatal: relocation error: file /home/
>>> disk1/server/lib/libtcl.so: symbol svr4_tli: referenced symbol
>>> not found
He could be getting the libtcl.so for the TCL/Tk programming language
before the Sybase library of the same name.
hail{dak}1056: ls -l $SYBASE/lib/libtcl.*
-rwxrwxr-x 1 sybase 420372 Nov 20 1997 /usr/local/sybase/lib/
libtcl.so
hail{dak}1057: ls -l /usr/local/pkg/tcl-8.3.1/lib/libtcl.so
lrwxrwxrwx 1 root 12 Aug 10 2000 /usr/local/pkg/
tcl-8.3.1/lib/libtcl.so -> libtcl8.3.so
I guess the LD_LIBRARY_PATH is still suspect.
>>
>> Check that your LD_LIBRARY_PATH is set right. (i.e. $SYBASE/
>> SYBASE.sh
>> is sourced.)
>> _______________________________________________
>> Python-sybase mailing list
>> Python-sybase at www.object-craft.com.au
>> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-
>> sybase
> --
> Marcos Sánchez Provencio <marcos at burke.ath.cx>
>
> _______________________________________________
> Python-sybase mailing list
> Python-sybase at www.object-craft.com.au
> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase
--
Don Kiphart
Software Developer
Prediction Company
Santa Fe, NM
More information about the Python-sybase
mailing list