[debian-mysql] Bug#878039: libmariadb-dev-compat: Static library symlinked to dynamic one, compile error
Adam Nielsen
a.nielsen at shikadi.net
Mon Oct 9 01:23:53 UTC 2017
Package: libmariadb-dev-compat
Version: 2.3.2-2
Severity: important
Dear Maintainer,
I discovered a mistake in the libmariadb-dev-compat package. The
static library (.a) is a symlink to a dynamic library (.so), meaning
you get this error when trying to compile against the static library:
/usr/bin/ld: attempted static link of dynamic object
`/usr/lib/x86_64-linux-gnu/libmysqlclient.a'
This can be seen in the package file, where the .a file symlinks to
a .so file by mistake:
./usr/lib/x86_64-linux-gnu/libmysqlclient.a -> libmariadb.so
./usr/lib/x86_64-linux-gnu/libmysqlclient.so -> libmariadb.so
./usr/lib/x86_64-linux-gnu/libmysqlclient_r.a -> libmariadb.so
./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so -> libmariadb.so
Here, the .a file should be a symlink to libmariadb.a instead.
-- System Information:
Docker image: debian:latest
Debian Release: 8.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.12.3-1-ARCH (SMP w/16 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C
(charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages libmariadb-dev-compat depends on:
ii libmariadb-dev 2.3.2-2
libmariadb-dev-compat recommends no packages.
libmariadb-dev-compat suggests no packages.
-- debconf information excluded
More information about the pkg-mysql-maint
mailing list