Date: Thu, 26 Jun 1997 09:00:49 +0100 From: Josef Karthauser <joe@pavilion.net> To: spork <spork@super-g.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NOCOL and -lresolv Message-ID: <19970626090049.53644@pavilion.net> In-Reply-To: <Pine.BSF.3.95q.970625184502.27401B-100000@super-g.inch.com>; from spork on Wed, Jun 25, 1997 at 06:49:04PM %2B0000 References: <Pine.BSF.3.95q.970625184502.27401B-100000@super-g.inch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 25, 1997 at 06:49:04PM +0000, spork wrote: > Not being terribly familiar with the structure of things, I'm a bit > stumped on what to do with the source I have for NOCOL (an snmp-based > monitoring agent ftp://ftp.navya.com/pub/vikas/nocol.tar.gz). > > It has a "configure" script that guesses things fairly well, but it adds > this to all the makefiles: > > OS_LIBS=-lresolv -lcrypt > OS_CFLAGS=-DFREEBSD > > and falls over like so: > > gcc -O -DNOCOL -DFREEBSD -I/usr/local/src/nocol-4.2beta5/include > proc_datafile.o eventselect.o -L/usr/local/src/nocol-4.2beta5/lib -lresolv > -lcrypt -lnocol -o eventselect > ld: -lresolv: no match > *** Error code 1 > > Stop. > > If I take that flag out (-lresolv), the compile works, but I'm curious > whether things will actuall work, and why... We had the same problem. It appears that the functions in resolv have migrated into a different library under 2.2.2. I'd have to dig around to see where though. There is still a libresolv in /usr/lib/compat Joe. -- Josef Karthauser Technical Manager Email: joe@pavilion.net Pavilion Internet plc. [Tel: +44 1273 607072 Fax: +44 1273 607073]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970626090049.53644>