smbclient does not properly link and when trying to run it it fails with messages like: dyld: Library not loaded: /private/tmp/nix-build-samba-4.7.12.drv-0/samba-4.7.12/bin/default/source3/libpopt-samba3-samba4.dylib Referenced from: result/bin/smbclient Reason: image not found