Comment 13 for bug 1249854

Revision history for this message
Cheatah (edwin-cheatah) wrote :

The libmysqlclient18.1 packages on wheezy and squeeze are broken. These packages don't install /usr/lib/libmysqlclient_r.so.18 but the libmysqlclient-dev package has a symbolic link from /usr/lib/libmysqlclient_r.so to libmysqlclient_r.so.18 which does not exist. This file should exist in the libmysqlclient18.1 package.

Quick fix:

ln -sv libmysqlclient_r.so.18.1.0 /usr/lib/libmysqlclient_r.so.18

See also:
$ dpkg-query -L libmysqlclient18.1 | fgrep /usr/lib/
/usr/lib/libmysqlclient.so.18.1.0
/usr/lib/libmysqlclient_r.so.18.1.0

Compare with Debian's native libmysqlclient16:
$ dpkg-query -L libmysqlclient16 | fgrep /usr/lib/
/usr/lib/libmysqlclient_r.so.16.0.0
/usr/lib/libmysqlclient.so.16.0.0
/usr/lib/libmysqlclient_r.so.16
/usr/lib/libmysqlclient.so.16

Do NOT package the file with libmysqlclient-dev, package it with libmysqlclient18.1.