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

Monty Taylor mtaylor at mysql.com
Thu Dec 27 17:19:34 UTC 2007


I've been working on this bug upstream where it's causing problems with
libndbclient. We have a fix around, but it's just for libndbclient. I'm
glad to see there's a larger issue, and I'll include this on the
upstream bug, which is http://bugs.mysql.com/bug.php?id=29791

Monty

Marc J. Driftmeyer wrote:
> 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
> 2
> make[1]: *** Waiting for unfinished jobs...
> 
> Package KDEPIM for KDE 4.0 build fails for both 5.0 and 5.1
> experimental. 
> 
> 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:1.2.3.3.dfsg-8 compression library - development
> 
> libmysqlclient15-dev recommends no packages.
> 
> -- no debconf information
> 
> 
> 
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-mysql-maint






More information about the pkg-mysql-maint mailing list