building bro in linux
Olivier Grumelard
grd-pub.56 at NOSPAMnetcourrier.com
Sat Mar 8 10:24:05 PST 2003
Hi,
>>You should try linking with "/usr/lib/libresolv.a" instead of "-lresolv"
>--
>>the latter uses the dynamic library, libresolv.so, unless you add the
>>"-static" option. Just edit the Makefile accordingly.
> ~~~~~~~~~~~~~~~~~~~~~I could not find
>-lresolv in Makefile. Would u tell me where should be corrected in
>Makefile?
The "-lresolv" is included - or not - in the Makefile after the execution of
the "./configure" script, depending on the presence of name service -related
functions in your glibc. As it was not included in your case, you might be
missing a "glibc-devel" package of some sort -- just make sure you have the
libresolv's on your system, and re-run the "./configure" script.
Other than that, the "LIBS" variable is the one you should edit in your
Makefile.
Good luck,
Olivier.
More information about the Bro
mailing list