[Techtalk] Shared library dependencies - Debian

Terry tech at futurecourse.com
Thu Nov 8 19:43:25 UTC 2012


Hi folks,

Got a bit of a head scratcher here and no clue where to start looking.

With an upgrade of Mariadb 5.5 on debian using mariadb repo, I started 
getting these errors:

[....] Starting MTA:/usr/sbin/exim4: /usr/lib/libmysqlclient.so.18: no 
version information available (required by /usr/sbin/exim4)
/usr/sbin/exim4: /usr/lib/libmysqlclient.so.18: no version information 
available (required by /usr/sbin/exim4)
/usr/sbin/exim4: /usr/lib/libmysqlclient.so.18: no version information 
available (required by /usr/sbin/exim4)
[ ok 4.

and

mail: /usr/lib/libmysqlclient.so.18: no version information available 
(required by /usr/lib/libmu_auth.so.4)

Checked symlinks - ls -la /usr/lib

lrwxrwxrwx  1 root root      24 Oct 19 10:21 libmysqlclient.so.18 -> 
libmysqlclient.so.18.0.0
-rw-r--r--  1 root root 3017624 Oct 19 10:21 libmysqlclient.so.18.0.0
l

Link appears to be fine.

With ldd /usr/sbin/exim4 | grep libmysql

Seems like there are two entries for libmysqlclient18

ldd /usr/sbin/exim4 | grep libmysql
/usr/sbin/exim4: /usr/lib/libmysqlclient.so.18: no version information 
available (required by /usr/sbin/exim4)
libmysqlclient.so.18 => /usr/lib/libmysqlclient.so.18 (0xb706f000)

Same thing for libmu_auth.so.4

ldd /usr/lib/libmu_auth.so.4 | grep libmysql
/usr/lib/libmu_auth.so.4: /usr/lib/libmysqlclient.so.18: no version 
information available (required by /usr/lib/libmu_auth.so.4)
	libmysqlclient.so.18 => /usr/lib/libmysqlclient.so.18 (0xb7229000)

Exim4 runs fine, just spits out these error messages, which are 
downright annoying since for all my cron jobs that send me an e-mail, 
I'm now getting two - the job output and cron telling me there was an error.

So I set up a fresh installs of both Debian Wheezy and Debian Squeeze to 
see if something was amiss with just my server.  Same issues.

No clue where to start looking for the problem.  Is this a mariadb bug? 
  I've tried asking on mariadb mailing list but no response to speak of, 
other than suggesting that is if the symlink isn't there, then put one in.

As I say, I am scratching my head trying to figure this one out.  Any 
pointers would be very much appreciated.

-- 
Terry


More information about the Techtalk mailing list