[Techtalk] Shared library dependencies - Debian
Miriam English
mim at miriam-english.org
Thu Nov 8 21:11:30 UTC 2012
Hi Terry,
I'm not really knowledgeable here, so someone else might answer with
better info, but it looks like your copy of the library file
"libmysqlclient.so.18.0.0" has been compiled without version information
in it (whatever that means). I was plagued by similar annoying error
messages from programs loading a png library a while back and fixed it
by recompiling the png library from source myself.
The debian package pages always give links to the source code along with
the binary installs. I have no idea why some libs might contain version
info and others not... perhaps it gets erroneously stripped out along
with debugging code? I hope someone else can help more.
Cheers,
- Miriam
Terry wrote:
> 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.
>
--
If you don't have any failures then you're not trying hard enough.
- Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
-----
Website: http://miriam-english.org
Blogs: http://miriam-e.dreamwidth.org
http://miriam-e.livejournal.com
More information about the Techtalk
mailing list