Samba build error on Fedora 31 can't find 'nsl'

Steve French smfrench at
Wed Oct 30 16:19:06 UTC 2019

Doing a clean build of Samba on Fedora 31 (master from jra's branch of
a few months ago) I get this error (worked on Ubuntu) not finding
'nsl' but the package is installed

./configure --without-ad-dc --with-system-mitkrb5 ; make

[144/144] Creating bin/default/lib/krb5_wrap/krb5samba.vscript
[145/147] Compiling lib/replace/cwrap.c
[146/147] Compiling lib/replace/replace.c
[147/147] Linking bin/default/lib/replace/
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status

# yum whatprovides '*nsl'
Last metadata expiration check: 0:46:54 ago on Wed 30 Oct 2019 10:30:46 AM CDT.
libnsl-2.30-5.fc31.i686 : Legacy support library for NIS
Repo        : fedora
Matched from:
Provide    : libnsl = 2.30-5.fc31

Package libnsl-2.30-5.fc31.x86_64 is already installed.



More information about the samba-technical mailing list