Hello,
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. 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. 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. Best regards, Kern On 12/26/2017 01:20 PM, Tilman Schmidt wrote: Am 25.12.2017 um 20:08 schrieb Dimitri Maziuk:On 2017-12-24 13:13, Tilman Schmidt wrote:Am 24.12.2017 um 18:43 schrieb Dimitri Maziuk:Exactly why SUSE restores *all* .so's to their installed state on every RPM update is another question,Actually it doesn't. It only happens with libbaccats-7.4.4.so. Other alternative-symlinked .so-s in /usr/lib64 are left alone.Heh. That's a weird one, then. Is your chosen libbaccats the "better" alternative, i.e. it's not the alternatives resetting the .so prior to ldconfig run?No, it's definitely not the alternatives mechanism. The links in /etc/alternatives which it manages are fine. libbaccats-mysql is correctly configured as "better" alternative than libbaccats-stub, and running update-alternatives manually also chooses it correctly. The link ldconfig damages is the one redirecting to /etc/alternatives. The effect of the damage is to bypass the alternatives mechanism.In fact, the /usr/lib64/libbaccats-stub-7.4.4.so library file seems to be "asking" to be symlinked to libbaccats-7.4.4.so. If I rename that file to libbaccats-stub-7.4.4.so.BAD and re-run ldconfig, it creates a symlink libbaccats-7.4.4.so -> libbaccats-stub-7.4.4.so.BAD, and if I gzip libbaccats-stub-7.4.4.so then ldconfig complains about a bad magic number in libbaccats-stub-7.4.4.so.gz and leaves the libbaccats-7.4.4.so symlink alone. Tilman
|
------------------------------------------------------------------------------ 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