[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bro
Subject:    Re: building bro in linux
From:       Olivier Grumelard <grd-pub.56 () NOSPAMnetcourrier ! com>
Date:       2003-03-08 18:24:05
Message-ID: 200303081924.05926.grd-pub.56 () NOSPAMnetcourrier ! com
[Download RAW message or body]

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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic