[python-sybase] Building python-sybase with ubuntu hoary

Marcos Sánchez Provencio marcos at burke.ath.cx
Tue, 05 Apr 2005 17:31:43 +0200

The module seems to build fine, but I am not able to import it. Has
anybody been successful?

marcos@quina:~ $ python
Python 2.4.1 (#2, Mar 30 2005, 21:51:10)
[GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 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: /lib/libc.so.6: undefined symbol: register_match6

And this is the ldd output:

marcos@quina:~ $  ldd /usr/local/lib/python2.4/site-packages/sybasect.so
ldd: /usr/local/lib/python2.4/site-packages/sybasect.so: No existe el
fichero o el directorio
marcos@quina:~ $  ldd /usr/lib/python2.4/site-packages/sybasect.so
                libct.so.1 => /usr/lib/libct.so.1 (0xb7faa000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
        /lib/libc.so.6 => /lib/libc.so.6 (0xb7f97000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7f83000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e56000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
SYBASE is /usr
freetds-dev deb package version is 0.61-6.1
python2.4 deb package version is 2.4.1-0