Bug 1214973 - /usr/lib64/samba/wbclient is not in the ldconfig lookup path
Summary: /usr/lib64/samba/wbclient is not in the ldconfig lookup path
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 22
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Sumit Bose
QA Contact: Fedora Extras Quality Assurance
: 1215109 1215450 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2015-04-24 01:13 UTC by Nicolas Laplante
Modified: 2016-09-11 02:45 UTC (History)
16 users (show)

Fixed In Version: samba-4.2.1-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-04-26 12:43:53 UTC
Type: Bug

Attachments (Terms of Use)
Alternatives update for libwbclient.0.12 (2.88 KB, patch)
2015-04-24 11:08 UTC, Sumit Bose
no flags Details | Diff

Description Nicolas Laplante 2015-04-24 01:13:41 UTC
Description of problem:
After updating to libwbclient 2:4.2.1-2.fc22 from updates-testing, applications linked to libwbclient.so cannot find the shared library, because the path /usr/lib64/samba/wbclient is not part of the ldconfig lookup path.

Version-Release number of selected component (if applicable):
Fedora 22 Beta

How reproducible:

Steps to Reproduce:
1. dnf update
2. try to start an app linked to this library (gnome-control-center)
3. fail

Actual results:
Applications linked to libwbclient do not start

Expected results:
Applications start

Additional info:
I added this in /etc/ld.so.conf.d/samba.conf:


and ran ldconfig as root. Apps work fine after this fix.

Comment 1 Sumit Bose 2015-04-24 10:30:39 UTC
*** Bug 1215109 has been marked as a duplicate of this bug. ***

Comment 2 Sumit Bose 2015-04-24 11:08:12 UTC
Created attachment 1018410 [details]
Alternatives update for libwbclient.0.12

This patch makes the alternatives tool aware of the new version of libwbclient and adds a check which should make sure the next time a version change is already discovered at build time.

I tested up- and downgrades and alternatives is updated as expected. If sssd-libwbclient is install which currently only implements 0.11 (update will coming soon as well) there will be still a link pointing to the 0.11 implementation of SSSD but ldconfig is smart enough to pick the newer version.

Comment 3 Fedora Update System 2015-04-24 14:32:19 UTC
samba-4.2.1-3.fc22 has been submitted as an update for Fedora 22.

Comment 4 Mike Simms 2015-04-24 19:32:55 UTC
Thanks. Appears to be resolved, karma given.

Comment 5 Stanislav Graf 2015-04-25 15:57:35 UTC
Updating to samba-4.2.1-4.fc22 fixed the issue for me.

Comment 6 Fedora Update System 2015-04-26 12:43:53 UTC
samba-4.2.1-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 David King 2015-04-27 06:31:09 UTC
*** Bug 1215450 has been marked as a duplicate of this bug. ***

Comment 8 Elionai Moura 2016-09-11 02:45:11 UTC
Same thing like Nicholas Laplante, but on Fedora 24 and Gnome 3.20.2

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