[python-sybase] relocation error when importing Sybase

Victor Lu v.lu at garvan.org.au
Mon Nov 21 12:20:06 EST 2005


I have tried to install sybase-0.37.tar on my sun server (sunos 5.6,  
sybase version 11.0.2).

I installed as follows:
python setup.py install
and the installation ran to completion without any errors.

After launching python I then get the following error:

Python 2.4 (#1, Nov 18 2005, 14:53:00)
[GCC 3.3.2] on sunos5
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.4/site-packages/Sybase.py", line 20,  
in ?
     from sybasect import *
ImportError: ld.so.1: python: fatal: relocation error: file /home/ 
disk1/server/lib/libtcl.so: symbol svr4_tli: referenced symbol not found
 >>>

I know there was a  similar posting by Steve Bremer http://www.object- 
craft.com.au/pipermail/python-sybase/2003-June/000177.html but there  
was no reply to his question.

I'd  be grateful for any assistance.

Victor



More information about the Python-sybase mailing list