[Python-modules-team] Bug#566873: python-mysqldb: not linked against libmysqld (mysql embedded server library)
Sven Uhlig
svenuhlig at web.de
Mon Jan 25 18:07:56 UTC 2010
Package: python-mysqldb
Version: 1.2.2-10
Severity: normal
Hello list,
well as the title says: python-mysqldb is not linked against libmysqld and thus the
mysql embedded server feature is missing. Atleast that's what my ldd
says:
$ ldd pyshared/python2.5/_mysql.so
linux-vdso.so.1 => (0x00007fff21de1000)
libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16 (0x00007fd58b8a7000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd58b68b000)
libc.so.6 => /lib/libc.so.6 (0x00007fd58b336000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fd58b0ff000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007fd58aee7000)
libm.so.6 => /lib/libm.so.6 (0x00007fd58ac64000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fd58aa4d000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd58beef000)
Furthermore I am not able to build the package from source package.
Tried with default settings (site.cfg) and with Static = True. Both with the same
result:
$ python setup.py build
*snip*
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(client.o): relocation
R_X86_64_PC32 against symbol `not_error_sqlstate' can not be used when
making a shared object; recompile with -fPIC
(Another Bug?)
Regards.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-mysqldb depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libmysqlclient16 5.1.41-3 MySQL database client library
ii python 2.5.4-5 An interactive high-level object-o
ii python-support 1.0.6 automated rebuilding support for P
python-mysqldb recommends no packages.
Versions of packages python-mysqldb suggests:
ii mysql-server 5.1.41-3 MySQL database server (metapackage
ii mysql-server-5.1 [mysql-serve 5.1.41-3 MySQL database server binaries
pn python-egenix-mxdatetime <none> (no description available)
pn python-mysqldb-dbg <none> (no description available)
-- no debconf information
More information about the Python-modules-team
mailing list