Bacula-users

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

2009-09-07 12:09:59
Subject: Re: [Bacula-users] libmysqlclient_r.so.12
From: Olaf Zevenboom <olaf AT artefact DOT nl>
To: RYAN vAN GINNEKEN <king AT computerking DOT ca>
Date: Mon, 07 Sep 2009 17:51:16 +0200
Hi

Not much Bacula related. More Linux general and a bit Ubuntu.
Same recipe as always in cases like this:
1. perform a "purge" (dpkg)
2. remove anything manually if not everything was 
purged/removed/deleted: that's why you want to do this from console and 
not from a GUI.....
3. check the install script of manual install
4. remove files/dirs mentioned
5. install from the repository. If the required version is not there and 
an other repository which contains a backport assuming you trust the 
(quality of the) repository-host and package builder. If not build the 
package from the package source and install with dpkg

As you can see: this has nothing to do with Bacula. It is 
packaging/sysadmin/distro related.

Good luck
Olaf

king AT computerking DOT ca wrote:
> Yes you are correct i have a couple of versions installed one was from source 
> and is version 2.4.4 this is from when i was running dapper.  Now that i have 
> upgraded to Hardy which broke parts of my install I have reinstalled bacula 
> from the repositories which is at version 2.2.8.  A bit of a mess to say the 
> least.  
>
> I would like to get rid of both of these bacula installs, and start fresh 
> with a bacula 3.X.X version.  Is this possible? can i keep my config files? 
> Read in the new bacula docs (USB stick backups) that i should be able to 
> install a recent version of Bacula through the ubuntu repositories is this 
> true? if so where are these bacula repositories hiding? as i can only see 
> version 2.4.4.
>
> Please help
>
> Give me a fast ship, for I intend to go in harms way.
>
> ----- "RYAN vAN GINNEKEN" <king AT computerking DOT ca> wrote:
>
>   
>> 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
>>     
>
> ------------------------------------------------------------------------------
> 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

<Prev in Thread] Current Thread [Next in Thread>