[python-sybase] Sybase Module 0.37 and FreeTDS v0.64.dev.20060110
Camillo Pereira (TUSC)
cpereira at tusc.com.au
Thu Jan 12 09:26:32 EST 2006
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".
>
More information about the Python-sybase
mailing list