Bug 1456703

Summary: Cannot start gnome-control-center - error while loading shared libraries: libwbclient.so.0
Product: [Fedora] Fedora Reporter: Milan Zink <mzink>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: control-center-maint, fedora, fmuellner, mkasik, ofourdan, rmatos, rstrode, tiagomatos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-30 15:19:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Zink 2017-05-30 07:54:41 UTC
Description of problem:

Cannot start gnome control center

[mzink@windmill ~] $ gnome-control-center 
gnome-control-center: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory


Version-Release number of selected component (if applicable):
control-center-filesystem-3.24.2-1.fc26.x86_64
control-center-3.24.2-1.fc26.x86_64

How reproducible:
Try to start gnome-control-center without sssd-libwbclient package installed.

Steps to Reproduce:
$ gnome-control-center 
gnome-control-center: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory


Actual results:
$ gnome-control-center 
gnome-control-center: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory

Expected results:
gnome-control-center starting without problems. Package dependencies should be handled 

Additional info:
$ sudo dnf provides  */libwbclient.so.0
Last metadata expiration check: 1:16:12 ago on Tue May 30 08:23:29 2017 CEST.
libwbclient-2:4.6.4-0.fc26.x86_64 : The winbind client library
Repo        : @System

libwbclient-2:4.6.3-0.fc26.i686 : The winbind client library
Repo        : fedora

libwbclient-2:4.6.3-0.fc26.x86_64 : The winbind client library
Repo        : fedora

sssd-libwbclient-1.15.2-3.fc26.x86_64 : The SSSD libwbclient implementation
Repo        : fedora

$ sudo dnf install libwbclient
Last metadata expiration check: 1:17:04 ago on Tue May 30 08:23:29 2017 CEST.
Package libwbclient-2:4.6.4-0.fc26.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

$ gnome-control-center 
gnome-control-center: error while loading shared libraries: libwbclient.so.0:

$ sudo dnf install sssd-libwbclient
Last metadata expiration check: 1:17:15 ago on Tue May 30 08:23:29 2017 CEST.
Dependencies resolved.
===============================================================================================================================================================================================================================================================
 Package                                                            Arch                                                     Version                                                            Repository                                                Size
===============================================================================================================================================================================================================================================================
Installing:
 sssd-libwbclient                                                   x86_64                                                   1.15.2-3.fc26                                                      fedora                                                    72 k

Transaction Summary
===============================================================================================================================================================================================================================================================
Install  1 Package

Total download size: 72 k
Installed size: 36 k
Is this ok [y/N]: t
Is this ok [y/N]: y
Downloading Packages:
sssd-libwbclient-1.15.2-3.fc26.x86_64.rpm                                                                                                                                                                                      1.5 MB/s |  72 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                           82 kB/s |  72 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                       1/1 
  Installing       : sssd-libwbclient-1.15.2-3.fc26.x86_64                                                                                                                                                                                                 1/1 
  Running scriptlet: sssd-libwbclient-1.15.2-3.fc26.x86_64                                                                                                                                                                                                 1/1 
  Verifying        : sssd-libwbclient-1.15.2-3.fc26.x86_64                                                                                                                                                                                                 1/1 

Installed:
  sssd-libwbclient.x86_64 1.15.2-3.fc26                                                                                                                                                                                                                        

Complete!

$ gnome-control-center - SUCCESS

$ rpm -ql libwbclient
/usr/lib64/samba/libwinbind-client-samba4.so
/usr/lib64/samba/wbclient/libwbclient.so.0
/usr/lib64/samba/wbclient/libwbclient.so.0.13

$ rpm -ql sssd-libwbclient
/usr/lib64/sssd
/usr/lib64/sssd/modules
/usr/lib64/sssd/modules/libwbclient.so.0
/usr/lib64/sssd/modules/libwbclient.so.0.13.0

Comment 1 Christian Stadelmann 2017-05-30 13:48:04 UTC
Duplicate of #1360557 or #1456145 respectively.

Comment 2 Rui Matos 2017-05-30 15:19:23 UTC
gnome-control-center doesn't link directly to libwbclient.so so it sounds like a samba issue

*** This bug has been marked as a duplicate of bug 1456145 ***