PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Subject:usrbinld: cannot find lnsl


Your Ad Here

Your Ad Here

Measure Amount of Quires
In comp.os.linux.misc, on Mon 27 March 2006 00:21, AlphaKernel Are you capable of writing a sentence that makes sense, or will all your posts be limited to one word that is meaningless without...

Trying to compile samhain-2.1.3, as root, on Mandriva Linux 2006.0 official with all updates installed and get

usr-bin-ld: cannot find -lnsl

samhain is a file integrity host intrusion detection system

keys and md5 checksum all match after download-unpacking.

I added the formatting to post

# make gcc -O -static -o samhain samhain.o shunix.o shutils.o sherror.o shfiles.o shgetopt.o shreadconf.o shtiger0.o shtiger1.o shtiger2.o shtiger164.o shtiger264.o shhash.o shmail.o shmem.o shentropy.o shforward.o shmodules.o shutmp.o shkern.o shsuidchk.o shsrp.o shfifo.o shtools.o shhtml.o shgpg.o shcat.o shcalls.o shextern.o shdatabase.o sherrlog.o sherrconsole.o sherrsyslog.o shschedule.o bignum.o trustfile.o rijndael-alg-fst.o rijndael-api-fst.o slib.o zAVLTree.o shsocket.o shignore.o shprelude.o shmounts.o shuserfiles.o shprelink.o shstatic.o shpreludeold.o -lnsl -lnsl -lresolv

usr-bin-ld: cannot find -lnsl collect2: ld returned 1 exit status make: *** samhain Error 1

Any suggestions as to what is causing the ld modules search failure and-or possible fix?

I thought ld searced the trusted directoriesusr-lib andlib by default. I even added them toetc-ld.so.conf, logged out-in. Still fails.

# catetc-ld.so.conf include ld.so.conf.d-*.confusr-X11R6-libusr-lib-qt3-libusr-liblib

# locate libnslusr-lib-libnsl.solib-libnsl-2.3.5.solib-libnsl.so.1

# ls -alusr-lib-libnsl.so ..-..-lib-libnsl.so.1 # cdusr-lib libnsl-2.3.5.so # cd ..-..-lib-lib

-rwxr-xr-x 1 root root 68576 Aug 30 2005 libnsl-2.3.5.so

# echo LDLIBARYPATH=$LDLIBARYPATH LDLIBARYPATH=

I also tried a cdlib ln -s libnsl-2.3.5.so libnsl.so

ld still failed.



Your Ad Here

List | Previous | Next

Measure Amount of Quires

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

google reply was librarysource code installation