[Snort-users] Library required for --enable-flexresp

Jeff Nathan jeff at ...950...
Sat Oct 5 14:07:02 EDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do you have libnet 1.0.2a installed?

The linker is failing as it doesn't seem to know where libnet is.  I 
believe FreeBSD automatically uses /usr/local/lib for its ldcache.  This 
leads me to believe you may not have libnet installed.

- -Jeff



- --On Saturday, October 05, 2002 08:35:29 +0800 "francisv at ...6732..." 
<francisv at ...6732...> wrote:

> Hi,
>
> I'm compiling snort-1.9 on a FreeBSD 4.7-RC system and I got this message
> while compiling with the options: --with-mysql --enable-flexresp
>
> gcc  -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS
> -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN
> -L/usr/local/lib/mysql -o snort  codes.o debug.o decode.o log.o mstring.o
> parser.o  plugbase.o snort.o snprintf.o strlcatu.o strlcpyu.o tag.o
> ubi_BinTree.o  ubi_SplayTree.o util.o detect.o substr.o trie.o signature.o
> mempool.o  sf_sdlist.o perf.o perf-flow.o perf-base.o perf-event.o
> threshold.o output-plugins/libspo.a  detection-plugins/libspd.a
> preprocessors/libspp.a -lz -lpcap -lm  -lmysqlclient -lnet
> /usr/libexec/elf/ld: cannot find -lnet
> *** Error code 1
>
> Stop in /usr/local/src/snort/snort-1.9.0/src.
> *** Error code 1
>
> ---
>  francis a. vidal [bitstop network services] | http://www.bitstop.ph
>  streaming media + web hosting               | http://www.keystone.ph
>  v(02)330-2871,(02)330-2872; f(02)330-2873   | http://www.kuro.ph
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users


- --
http://www.snort.org/~jeff       (pgp key available)
"Great spirits have always encountered violent opposition from mediocre
minds."
- - Albert Einstein
    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE9n1LpEqr8+Gkj0/0RAoChAJ45bNx7GidqaSsTWWFHQWNrcUKPjACeLQkR
1MnPc+dTknWHL0aJ4llVHCo=
=f1kN
-----END PGP SIGNATURE-----





More information about the Snort-users mailing list