Red Hat Bugzilla – Bug 818208
samba-3.6.5-85.fc17.1: can't find libwclient.so.0
Last modified: 2012-10-26 12:27:28 EDT
May 2 09:01:29 jik2 smbd: /usr/sbin/smbd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory
It would seem that samba needs a dependency on libwbclient.
Can you tell what version of libwbclient package do you have ?
I didn't have _any_ version of libwbclient. That's the point -- the samba packages don't tell yum that libwbclient is needed.
Now that I've installed it manually, yum is happy to let me remove it without flagging it as a dependency issues and forcing samba packages to be removed as well:
jik2:~!999$ sudo yum remove libwbclient
[sudo] password for jik:
Loaded plugins: changelog, downloadonly, fastestmirror, langpacks, presto,
--> Running transaction check
---> Package libwbclient.x86_64 1:3.6.5-85.fc17.1 will be erased
--> Finished Dependency Resolution
Package Arch Version Repository Size
libwbclient x86_64 1:3.6.5-85.fc17.1 @updates-testing 50 k
Remove 1 Package
Installed size: 50 k
Is this ok [y/N]:
What samba-1:3.6.5-85.fc17.1.x86_64 requires is libwbclient.so.0()(64bit). The latter is provided by libwbclient-1:3.6.5-85.fc17.1.x86_64 so yum should be able to solve the dependency easily.
You can check yourself:
samba -- http://koji.fedoraproject.org/koji/rpminfo?rpmID=3087763
libwbclient -- http://koji.fedoraproject.org/koji/rpminfo?rpmID=3087771
$ rpm -q --whatprovides 'libwbclient.so.0()(64bit)'
$ rpm -ql samba4-libs | grep libwbclient
$ rpm -ql libwbclient | grep libwbclient
There is some confusion here.
ok we will investigate how to handle this, the issue is in the samba4 packages they should not provide 'libwbclient.so.0()(64bit)' as in the samb4 case libwbclient is a private library.
I have the same problem, but on my F16, 32bit !
I am trying to do yum update, but it fails:
Running Transaction Check
ERROR with transaction check vs depsolve:
libwbclient.so.0 is needed by samba-common-1:3.6.5-85.fc16.i686
libwbclient.so.0 is needed by samba-1:3.6.5-85.fc16.i686
libwbclient.so.0 is needed by libsmbclient-1:3.6.5-85.fc16.i686
libwbclient.so.0 is needed by samba-winbind-clients-1:3.6.5-85.fc16.i686
libwbclient.so.0 is needed by cifs-utils-5.4-1.fc16.i686
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
cifs-utils-5.3-2.fc16.i686 has missing requires of libwbclient.so.0
1:libsmbclient-3.6.4-82.fc16.i686 has missing requires of libwbclient.so.0
1:samba-3.6.4-82.fc16.i686 has missing requires of libwbclient.so.0
1:samba-common-3.6.4-82.fc16.i686 has missing requires of libwbclient.so.0
1:samba-winbind-clients-3.6.4-82.fc16.i686 has missing requires of libwbclient.so.0
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2012-05-04.09-25.mdBjwb.yumtx
Linux notebook 3.3.2-6.fc16.i686.PAE #1 SMP Sat Apr 21 13:02:14 UTC 2012 i686 i686 i386 GNU/Linux
Any help to solve this ?
Thank you. :)
This has already been fixed. Please reopen if you're still running into the problem.