Summary: | net-fs/samba libs missing ld.so.conf entries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Beier <walther> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bkohler, jstein, proteuss |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ffmpeg related build.log |
Description
Stefan Beier
2017-05-05 05:36:43 UTC
Please attach the logfiles https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Problems_at_build_time I do not understand what you write about ffmpeg in this context. Created attachment 472646 [details]
ffmpeg related build.log
Hi,
i'm sorry, if i wasn't able to describe the issue this perfect and im trying again:
Samba compiles fine. No issues. But packages using parts of samba (for example ffmpeg) doesn't compile.
ffmpeg is looking for a working smbclient executable while runnning configure. this fails and after investigating the issue i found the following:
<--snip-->
apollo ~ # smbclient
smbclient: error while loading shared libraries: libsamba-security-samba4.so: cannot open shared object file: No such file or directory
apollo ~ #
<--snip-->
When adding the paths /usr/lib64/samba/ and /usr/lib32/samba/ in /etc/ld.so.conf.d to a new file and running ldconfig ist working again.
Since ffmpeg is using smbclient while building, its necessary, that configure finds the smbclient command working, otherwise it fails.
im not sure, whether the path is missing in the stage3 already or if samba needs to add this. so i added it as samba issue.
i will attach the ffmpeg build.log without the paths set.
thank you and greetings
(In reply to Stefan Beier from comment #2) > Created attachment 472646 [details] > ffmpeg related build.log > > Hi, > > i'm sorry, if i wasn't able to describe the issue this perfect and im trying > again: > > Samba compiles fine. No issues. But packages using parts of samba (for > example ffmpeg) doesn't compile. > > ffmpeg is looking for a working smbclient executable while runnning > configure. this fails and after investigating the issue i found the > following: > > <--snip--> > > apollo ~ # smbclient > smbclient: error while loading shared libraries: > libsamba-security-samba4.so: cannot open shared object file: No such file or > directory > apollo ~ # > > <--snip--> > > When adding the paths /usr/lib64/samba/ and /usr/lib32/samba/ in > /etc/ld.so.conf.d to a new file and running ldconfig ist working again. > > Since ffmpeg is using smbclient while building, its necessary, that > configure finds the smbclient command working, otherwise it fails. > > im not sure, whether the path is missing in the stage3 already or if samba > needs to add this. so i added it as samba issue. > > i will attach the ffmpeg build.log without the paths set. > > thank you and greetings ok, so adding to ld.so.conf isn't IMO the way to manage this; the samba build process should add a ' -Wl,-rpath /usr/lib64/samba ' to LDFLAGS when it builds smbclient (likely, when it builds everything in samba). Now that said, i think the dependency on this lib depends entirely as to what use flags you have set on samba. Since I don't see that in the top post, could you provide the list of USE flags you're building samba with please? Here are is the needed information: [ebuild R ~] net-fs/samba-4.5.8::gentoo USE="acl client cups fam ldap pam winbind -addc -addns -ads -cluster -dmapi -gnutls -gpg -iprint -quota (-selinux) -syslog (-system-heimdal) -system-mitkrb5 -systemd {-test} -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB I have tried the stable version (4.2.14) as well, same behavior. thanks and greetings I tracked down the issue a bit more. It is related to bug https://bugs.gentoo.org/show_bug.cgi?id=600592 since I use distcc as well, I got the same issue. It doesn't matter whether stable or unstable. *** This bug has been marked as a duplicate of bug 600592 *** |