RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1576027 - smbclient - libwbclient.so.0 not found
Summary: smbclient - libwbclient.so.0 not found
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-08 15:18 UTC by MarkS
Modified: 2018-05-09 15:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-09 15:56:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description MarkS 2018-05-08 15:18:37 UTC
Description of problem:
Running RHEL Workstation 7.5, fully patched. Attempting to run "smbclient" tools fails as it cannot find one of its libraries.

Version-Release number of selected component (if applicable):
samba-client-4.7.1-6.el7.x86_64
libwbclient-4.7.1-6.el7.x86_64

How reproducible:
I did attempt to reinstall both packages to see if it was a broken install. I am unsure exactly when the break occurred as I do not regularly use smbclient.

Steps to Reproduce:
1. /usr/bin/smbclient

Actual results:
/usr/bin/smbclient: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory

Expected results:
Usage: smbclient [-?EgBVNkPeC] ....

Additional info:
It seems this is just a search path issue.

1. echo "/usr/lib64/samba/wbclient" >>/etc/ld.so.conf.d/samba-fix.conf
2. ldconfig
3. smbclient

Works

Comment 2 Andreas Schneider 2018-05-09 14:55:41 UTC
Please check where the symlink ob libwbclient is pointing to:

krikkit:~ # ll /usr/lib64/libwbclient.so.0*
lrwxrwxrwx 1 root root 19 May  9 16:53 /usr/lib64/libwbclient.so.0 -> libwbclient.so.0.14                                                                                
lrwxrwxrwx 1 root root 40 May  9 16:53 /usr/lib64/libwbclient.so.0.14 -> /etc/alternatives/libwbclient.so.0.14-64                                                        
krikkit:~ # ll /etc/alternatives/libwbclient.so.0.14-64
lrwxrwxrwx 1 root root 45 May  9 16:53 /etc/alternatives/libwbclient.so.0.14-64 -> /usr/lib64/samba/wbclient/libwbclient.so.0.14

Make sure sssd-libwbclient is not installed and reinstall libwbclient, then the symlink should be setup correctly.

Comment 3 MarkS 2018-05-09 15:34:55 UTC
Many thanks for the quick response, you were correct to point to sssd-lbwbclient as my issue. I removed it and reinstalled libwbclient, after which everything is functional again.

# ls -l /usr/lib64/libwbclient.so.0* /etc/alternatives/libwbclient.so.0.14-64 
lrwxrwxrwx. 1 root root 45 May  9 16:27 /etc/alternatives/libwbclient.so.0.14-64 -> /usr/lib64/samba/wbclient/libwbclient.so.0.14
lrwxrwxrwx. 1 root root 19 May  9 16:27 /usr/lib64/libwbclient.so.0 -> libwbclient.so.0.14
lrwxrwxrwx. 1 root root 40 May  9 16:27 /usr/lib64/libwbclient.so.0.14 -> /etc/alternatives/libwbclient.so.0.14-64

# alternatives --list | grep samba
libwbclient.so.0.14-64	auto	/usr/lib64/samba/wbclient/libwbclient.so.0.14


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