[python-sybase] Problem with FreeTDS - undefined symbol: cs_dt_info

Hugo Barbosa Hugo Barbosa <hugo.barbosa at gmail.com>
Mon, 13 Dec 2004 13:08:12 +0000


Hi there,

I have just installed FreeTDS and it is working perfectly when I test
it usign tsql accessing a remote SQL Server 2000. Then I installed the
python-sybase module. But when I try to test with a python code, it
returns me an error in the very first command, "import Sybase". The
error is:

--------------------------
Traceback (most recent call last):
  File "teste.py", line 4, in ?
    import Sybase
  File "/usr/lib/python2.3/site-packages/Sybase.py", line 20, in ?
    from sybasect import *
ImportError: /usr/lib/python2.3/site-packages/sybasect.so: undefined
symbol: cs_dt_info
--------------------------

The output of the command "ldd /usr/lib/python2.3/site-packages/sybasect.so=
" is:

--------------------------
        libpthread.so.0 =3D> /lib/tls/libpthread.so.0 (0x00f0c000)
        libc.so.6 =3D> /lib/tls/libc.so.6 (0x00111000)
        /lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x0044a000)
--------------------------

Can anybody help me ? Thanks. :)

--=20
Hugo.

---------------------------------------------------------------------------=
------
"Do rio que tudo arrasta se diz que =E9 violento
 Mas ningu=E9m diz violentas as margens que o oprimem"

                                Bertold Brecht - Sobre a viol=EAncia
---------------------------------------------------------------------------=
------