Bacula-users

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

2009-08-19 15:25:35
Subject: Re: [Bacula-users] libmysqlclient_r.so.12
From: RYAN vAN GINNEKEN <king AT computerking DOT ca>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 Aug 2009 13:19:50 -0600 (MDT)
I have reinstalled and upgraded a bunch of packages trying to fix this issue 
even broke all my virtual drupal sites for a couple of hours very scary heehee. 
 Anyways here some more info

ldd /usr/sbin/bacula-dir used to say file not found for libmysqlclient_r.so.12 
however now it finds version 15, but still bacula-dir complains about not being 
able to find version 12

Please help


root@mx1:/home/c0mputerking# ldd /usr/sbin/bacula-dir
        linux-gate.so.1 =>  (0xb7f00000)
        libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7dc2000)
        libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7dbe000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7db4000)
        libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7bd2000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7bbd000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ba5000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ba1000)
        libwrap.so.0 => /lib/libwrap.so.0 (0xb7b99000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7aa5000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7a80000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a75000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7926000)
        /lib/ld-linux.so.2 (0xb7f01000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb78f4000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb78db000)
root@mx1:/home/c0mputerking# dpkg -S libmysqlclient_r.so
zimbra-logger: 
/opt/zimbra/logger/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so.15
zimbra-store: 
/opt/zimbra/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so.15.0.0
zimbra-logger: 
/opt/zimbra/logger/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so
libmysqlclient15off: /usr/lib/libmysqlclient_r.so.15
libmysqlclient16: /usr/lib/libmysqlclient_r.so.16
libmysqlclient15off: /usr/lib/libmysqlclient_r.so.15.0.0
libmysqlclient16: /usr/lib/libmysqlclient_r.so.16.0.0
zimbra-store: 
/opt/zimbra/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so.15
zimbra-logger: 
/opt/zimbra/logger/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so.15.0.0
zimbra-store: 
/opt/zimbra/mysql-standard-5.0.67-pc-linux-gnu-i686-glibc23/lib/mysql/libmysqlclient_r.so


Give me a fast ship, for I intend to go in harms way.

----- "Olaf Zevenboom" <olaf AT artefact DOT nl> wrote:

> 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

------------------------------------------------------------------------------
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