Bacula-users

Re: [Bacula-users] FreeBSD - libbaccats-5.2.6.so not found after upgrading

2012-03-02 15:48:42
Subject: Re: [Bacula-users] FreeBSD - libbaccats-5.2.6.so not found after upgrading
From: Silver Salonen <silver AT serverock DOT ee>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 02 Mar 2012 22:46:58 +0200
On Fri, 2 Mar 2012 20:32:27 +0000, Doug Sampson wrote:
>> On 02/03/2012 16:52, Doug Sampson wrote:
>> > Hello-
>> >
>> > While upgrading from 5.2.3 to 5.2.6 on a FreeBSD 9.0-RELEASE 
>> machine and
>> restarting, I encountered an error as follows:
>> >
>> > ===>>>  Done displaying pkg-message files
>> >
>> > ===>>>  Upgrade of bacula-client-5.2.3 to bacula-client-5.2.6 
>> complete
>> >
>> > root@pisces:/# rehash
>> > root@pisces:/# /usr/local/etc/rc.d/z-bacula.sh restart
>> > Stopping the Bacula File daemon
>> > Stopping the Bacula Storage daemon
>> > Stopping the Bacula Director daemon
>> >
>> > Starting the Bacula Storage daemon
>> > Starting the Bacula File daemon
>> > Starting the Bacula Director daemon
>> > Shared object "libbaccats-5.2.6.so" not found, required by 
>> "bacula-dir"
>> > root@pisces:/# find / | g libbaccats
>> > /usr/local/lib/libbaccats.so.5
>> > /usr/local/lib/libbaccats-postgresql.so
>> > /usr/local/lib/libbaccats-postgresql.la
>> > /usr/local/lib/libbaccats.so
>> > /usr/local/lib/libbaccats.la
>> > /usr/local/lib/libbaccats-postgresql.so.5
>> > root@pisces:/#
>> >
>> > Should I create a libbaccats-5.2.6.so symlink to libbaccats.so?
>> >
>> > ~Doug
>> >
>>
>> Hi Doug,
>>
>> Did you update both bacula-client *and* bacula-server?
>>
>> When you update the client it removes all of the shared libraries 
>> that
>> belong to that version, ie. 5.2.3 in your case, including those used 
>> by
>> the server binaries.
>
> Yes, I upgraded the server first before upgrading the client. I then
> restarted the services and, lo and behold, the error message. Should 
> I
> reinstall the client?
>
> ~Doug

I think you should first delete both bacula-server and bacula-client, 
and then install them both. I don't know whether the order matters.

PS. This 2 ports having the same libraries is quite a mess in means of 
FreeBSD ports, isn't it?

--
Silver

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users