Am 27.12.2017 um 11:00 schrieb Kern Sibbald:
> As Dimitri points out, there should be no stub file.  It looks like SuSE
> is trying to build Bacula the same way that it is done by Bareos, which
> will not work.

Thanks. Deleting the file /usr/lib64/libbaccats-stub-7.4.4.so
solved the problem. It turned out that file (in addition to being
superfluous in the first place) contained an erroneous header entry
"SONAME libbaccats-7.4.4.so" causing ldconfig to symlink it to that
name, thereby overwriting the correct symlink to /etc/alternatives
contained in the RPM.

> The only link you should have in the library directory should be
> something like:
> 
> libbaccats.so -> libbaccats-mysql-7.4.4.so
> 
> and of course there should be a file named:
> 
> libbaccats-mysql-7.4.4.so
> 
> There are other combinations that are possible, but the above is the
> simplest that should work.

Without the interference from the bad SONAME entry, the SUSE
alternatives mechanism works just fine.

> I suggest that you should talk to the SuSE packagers and ask them if
> your setup looks correct and whether or not they actually tested
> installing and running their rpms.

It's a contributed package. Regrettably openSUSE does not have
an official Bacula package.

Anyway, I'd assume the contributor *did* test installing and running
his RPMs, and just neglected to verify that they'd continue to run
after subsequent installation of *other* RPMs. :-)

I have notified him and am hoping for a fix.

Thanks,
Tilman

-- 
Tilman Schmidt                              E-Mail: til...@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to