Problem with FreeTDS - undefined symbol: cs_dt_info

Hugo Barbosa <[email protected]> Mon, 13 Dec 2004 13:08:12 +0000
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
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 => /lib/tls/libpthread.so.0 (0x00f0c000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0044a000)
--------------------------

Can anybody help me ? Thanks. :)

-- 
Hugo.

---------------------------------------------------------------------------------
"Do rio que tudo arrasta se diz que é violento
 Mas ninguém diz violentas as margens que o oprimem"

                                Bertold Brecht - Sobre a violência
---------------------------------------------------------------------------------