From: Camillo P. (TUSC) <cpe...@tu...> - 2006-01-12 17:24:49
|
Adam, A big thank you!!. That has done the trick. Python 2.4.1 (#1, Sep 13 2005, 00:39:20) [GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Sybase >>> vars() {'__builtins__': <module '__builtin__' (built-in)>, '__file__': '/etc/pythonstart', 'Sybase': <module 'Sybase' from '/usr/lib/python2.4/site-packages/Sybase.pyc'>, '__name__': '__main__', '__doc__': None} Regards, Camillo On Wed, 2006-01-11 at 07:22 -0500, Adam Hooper wrote: > On Wed, 2006-01-11 at 13:17 +1100, Camillo Pereira (TUSC) wrote: > > >>> import Sybase > > Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > File "/usr/lib/python2.4/site-packages/Sybase.py", line 20, in ? > > from sybasect import * > > ImportError: libct.so.4: cannot open shared object file: No such file or > > directory > > Try adding "/usr/local/freetds/lib" to /etc/ld.so.conf and running > "ldconfig". > |