Bug 1369070 - libwbclient.so.0 should be installed under /usr/lib64
Summary: libwbclient.so.0 should be installed under /usr/lib64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-22 12:32 UTC by Hans de Goede
Modified: 2016-08-22 13:05 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-22 13:05:33 UTC
Type: Bug


Attachments (Terms of Use)

Description Hans de Goede 2016-08-22 12:32:57 UTC
Description of problem:
gnome-control-center does not start, cannot find libwbclient.so.0

Version-Release number of selected component (if applicable):
libwbclient-4.5.0-0.0.rc1.fc25.x86_64

How reproducible:
Start gnome-control-center on f25

Actual results:
Error cannot find libwbclient.so.0

Expected results:
gnome-control-center starts normally

Additional info:
Since libwbclient.so.0 is a versioned .so and used by
other programs it should be installed directly under
/usr/lib64/ not under /usr/lib64/samba/wbclient/

Workaround:
 sudo sh -c "echo /usr/lib64/samba/wbclient/ > /etc/ld.so.conf.d/sambalocal.conf"

Comment 1 Alexander Bokovoy 2016-08-22 12:41:53 UTC
libwbclient.so.0 is an alternatives target. There are two different implementations of it and the code in sssd and samba packages handles switching on the alternatives. Can you show what is the status of 

# update-alternatives --list|grep wbclient
# update-alternatives --display libwbclient.so-64
# update-alternatives --display libwbclient.so.0.12-64

Comment 2 Hans de Goede 2016-08-22 13:05:33 UTC
The output of all 3 commands is empty.

I did a dnf distro-sync from 24 to 25 and the transaction got killed halfway through (my bad), so likely the %posttrans script never ran, after doing:

[root@shalem ~]# /usr/sbin/update-alternatives --install /usr/lib64/libwbclient.so.0.13 libwbclient.so.0.13-64 /usr/lib64/samba/wbclient/libwbclient.so.0.13 10

(from the %posttrans script)

I get:

[hans@shalem ~]$ update-alternatives --list|grep wbclient
libwbclient.so.0.13-64  auto    /usr/lib64/samba/wbclient/libwbclient.so.0.13
[hans@shalem ~]$ update-alternatives --display libwbclient.so-64
[hans@shalem ~]$ update-alternatives --display libwbclient.so.0.12-64

And more importantly I know have a /usr/lib64/libwbclient.so.0.13 symlink.

And after running ldconfig, gnome-control-center works without the workaround.

So I believe this was a glitch due to the transaction getting killed halfway through and can be closed, thanks for the quick response.


Note You need to log in before you can comment on or make changes to this bug.