Bacula-users

Re: [Bacula-users] libmysqlclient_r.so.12

2009-08-19 07:48:48
Subject: Re: [Bacula-users] libmysqlclient_r.so.12
From: Olaf Zevenboom <olaf AT artefact DOT nl>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 Aug 2009 13:43:59 +0200
Allan Black wrote:
> RYAN vAN GINNEKEN wrote:
>   
>> sudo apt-get install libmysqlclient15off
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> libmysqlclient15off is already the newest version.
>>     
>
>   
>>> Starting Bacula Director: /sbin/bacula-dir: error while loading s:
>>> libmysqlclient_r.so.12: cannot open shared object file: No suchory
>>>       
>
> OK, so libmysqlclient_r seems to be installed, but ld can't find it
> when bacula-dir is loaded. Find out what libraries bacula-dir needs
> with:
>
> # ldd /sbin/bacula-dir
>
> and then find out where the library is, but I don't know how to do
> that with apt-get. Does anyone know the Debian equivalent of:
>
> # rpm -q -l libmysqlclient15off | grep libmysqlclient_r
>   

On my Debian Lenny box (Bacula 2.4.4) I get:
ldd /usr/sbin/bacula-dir
    linux-gate.so.1 =>  (0xb7f44000)
    libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7dec000)
    libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7de8000)
    librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7dde000)
    libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7bf3000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb7bde000)
    libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7bc5000)
    libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7bc1000)
    libwrap.so.0 => /lib/libwrap.so.0 (0xb7bb9000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7aca000)
    libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7aa4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a97000)
    libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb793c000)
    /lib/ld-linux.so.2 (0xb7f45000)
    libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb790a000)
    libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb78f0000)

And to check where that file is coming from:
dpkg -S libmysqlclient_r.so
libmysqlclient15off: /usr/lib/libmysqlclient_r.so.15
libmysqlclient15off: /usr/lib/libmysqlclient_r.so.15.0.0
libmysqlclient15-dev: /usr/lib/libmysqlclient_r.so

Regards
Olaf
> .... ?
>
> Allan
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users