Samba build error on Fedora 31 can't find 'nsl'
Alexander Bokovoy
ab at samba.org
Wed Oct 30 16:55:26 UTC 2019
On ke, 30 loka 2019, Steve French via samba-technical wrote:
> 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/libreplace-samba4.so
> /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.
Please use libnsl2-devel.
See https://bugzilla.samba.org/show_bug.cgi?id=13238
--
/ Alexander Bokovoy
More information about the samba-technical
mailing list