[python-sybase] Sybase Module 0.37 and FreeTDS v0.64.dev.20060110
Camillo Pereira (TUSC)
cpereira at tusc.com.au
Wed Jan 11 13:17:45 EST 2006
Hi,
I have installed FreeTDS v0.64.dev.20060110 successfully
and then compiled the sybase module 0.37. The problem occures
when I try to import Sybase:
>>> 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
I noticed that a similar problem was experienced by Hugo at the posting
on
http://www.object-craft.com.au/pipermail/python-sybase/2004-December/000344.html
but no resolution was posted.
I had also tried using FreeTDS(0.63) with the same error, however it was
looking for libct.so.3.
STEPS CARRIED OUT:
=> Installing FreeTDS
# ./configure --disable-odbc --disable-libiconv
--enable-sybase-compat --prefix=/usr/local/freetds
# make; make install; make clean
=> Installing Sybase python module
# export SYBASE=/usr/local/freetds
# python setup.py build_ext -D HAVE_FREETDS
Am I missing something during the build stage of
the sybase module??
Any pointers would be much appreciated.
Regards,
--
Camillo Pereira
More information about the Python-sybase
mailing list