Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!newshub.csu.net!newsserver.sdsc.edu!robertso From: robertso@sdsc.edu (Michael Robertson) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Installing BIND: How to install -lnsl and -lsocket Date: Thu, 26 Dec 1996 10:18:02 -0800 Organization: SDSC Lines: 42 Message-ID: <robertso-ya023480002612961018020001@newsserver.sdsc.edu> NNTP-Posting-Host: robertso-3.remote.sdsc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.3.4 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33077 I'm running FreeBSD current and am trying to configure my environment to run a software program which requires various pieces of software to be installed. When I run the diagnostic program it comes with, it reports that I do not have -lnsl and -lsocket installed. --------------------------------------------------------- checking for -lnsl... no checking for -lsocket... no checking for -lresolv... yes checking for -l44bsd... yes --------------------------------------------------------- Are -lnsl and -lsocket components of BIND? If so, how does one install them? I downloaded and installed the latest BIND (bind-4.9.5). I saw nowhere a reference to lnsl and lsocket (but I may have missed it). I did find one post on the net which suggested I needed to a do a 'install-compat'. (See below.) What changes would I need to make to the Makefile for Bind to accomodate an 'install-compat' command under FreeBSD. (Most OSes have a section in the BIND Makefile you simply uncomment, but I didn't see a section for FreeBSD.) Thanks for any help! ----------------------------------------------------------------------- > After issuing the "sh makesendmail" command and some time the following > error appears. Please direct me to the best way to fix it. > sexits.o trace.o udb.o usersmtp.o util.o version.o -L/usr/sww/lib -lresolv > -l44 > bsd -lsocket -lnsl -lelf > ld: fatal: library -l44bsd: not found > ld: fatal: File processing errors. No output written to sendmail > make: *** [sendmail] Error 1 The '-lresolv' indicates that you installed the BIND 4.9.3 through 4.9.5 on your system, but failed to do a 'make install-compat' when you did so. You may have to edit your Makefile and add a line INSTALL_COMPAT=install-compat or similar to get it to actually do it. ------------------------------------------------------------------------