[debian-mysql] Bug#457915: libmysqlclient15-dev: relocation R_X86_64_32S against `client_errors'...recompile with -fPIC

Marc J. Driftmeyer mjd at reanimality.com
Thu Dec 27 06:42:58 UTC 2007

Package: libmysqlclient15-dev
Version: 5.0.51-1
Severity: important

Compiling against KDE 4 Trunk revealed that the amd64 build produces bad
value reads in /usr/lib/mysql/libmysqld.a

To be exact:

Linking CXX shared module ../../../lib/libqsqlmysqlembedded.so
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(client.o): relocation
R_X86_64_32S against `client_errors' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/mysql/libmysqld.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libqsqlmysqlembedded.so] Error 1
make[1]: ***
[akonadi/server/sqlplugin/CMakeFiles/qsql_mysql_embedded.dir/all] Error
make[1]: *** Waiting for unfinished jobs...

Package KDEPIM for KDE 4.0 build fails for both 5.0 and 5.1

Suggestion: Build packages explicitly with the -fPIC flag.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmysqlclient15-dev depends on:
ii  libc6                   2.7-5            GNU C Library: Shared libraries
ii  libmysqlclient15off     5.0.51-1         MySQL database client library
ii  zlib1g-dev              1: compression library - development

libmysqlclient15-dev recommends no packages.

-- no debconf information

More information about the pkg-mysql-maint mailing list