FS#46896 - [smbclient] /usr/bin/net depends on libfam.so

Attached to Project: Arch Linux
Opened by Lars Gustäbel (gustaebel) - Wednesday, 28 October 2015, 09:29 GMT
Last edited by freswa (frederik) - Friday, 27 March 2020, 00:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

I actually don't use smbclient, it was installed as a dependency of mpv. I have a cronjob that regularly checks all executables on my system for missing or outdated library dependencies, which is why I stumbled across this issue. /usr/bin/net depends on fam, i.e. gamin, but that is only in the makedepends list.

Steps to reproduce:

- Uninstall gamin package if happens to be on the system.
- Install smbclient package.
- Execute /usr/bin/net:

net: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
This task depends upon

Closed by  freswa (frederik)
Friday, 27 March 2020, 00:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.8.0-2
Comment by Doug Newgard (Scimmia) - Wednesday, 28 October 2015, 13:55 GMT
It's actually libsmbd-base-samba4.so that's linked to libfam, but it comes out the same

Wow does namcap hate this package.
Comment by Vanush "Misha" Paturyan (ektich) - Monday, 07 November 2016, 17:40 GMT
one year on I hit this bug:
misha@mishap2:~$ pacman -Q smbclient
smbclient 4.5.1-1

without "gamin" attempt to run "net" throws up "net: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory". with gamin installed net seems to work.
Comment by Emil (xexaxo) - Wednesday, 14 February 2018, 14:52 GMT
Humble ping? I started smbclient the other day and the same issue got flagged.
It should be a matter of adding "gamin" to the smbclient dependency list - just like the existing one in the samba package.

Thanks
Comment by Emil (xexaxo) - Thursday, 26 March 2020, 18:42 GMT
Seems like this was fixed with the "4.8.0-2: libnsl rebuild" (???) [1].
And at a later stage smbclient started using inotify, the dependency was dropped [2] and eventually gamin was removed from Arch all-together.


[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/samba&id=9ddb3a8d7af9e3c14c90999ce92b9d2cee6c0b29
[2] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/samba&id=396e7890b09e66e3573ab93dd79a73d1945dbc72

Loading...