Snort mailing list archives

RE: Library required for --enable-flexresp


From: Jeff Nathan <jeff () snort org>
Date: Mon, 07 Oct 2002 08:12:58 -0700

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

I sent a patch in over the weekend for autoconf that will correctly print 
out the places configure attempted to find libnet.h.  Also, snort requires 
1.0.2a now instead of a generic 1.0 version.  Mostly because without a 
level playing field I'm not sure we're all going to be experiencing the 
same behavior.

Given the interest in the new libnet library, I will take a a look into see 
if it can be used in place of 1.0.2a for flexresp as it's very likely 
future OS releases will switch to the newer version at some point.

Thanks for all the detailed bug reports.

- -Jeff

- --On Monday, October 07, 2002 08:52:54 -0600 "Slighter, Tim" 
<tslighter () itc nrcs usda gov> wrote:

I believe Jeff is onto something here.  I have observed that a user would
experience the same sort of errors during compilation if they are using
the most recent version of libnet 1.1.0.  compilation failed everytime
for any version builds (1.87, 1.90 and any betas) using libnet 1.1.0.
However, the 1.90 compiled just fine using libnet 1.0.2a and/or
1.0.0..........

-----Original Message-----
From: Jeff Nathan [mailto:jeff () snort org]
Sent: Saturday, October 05, 2002 3:00 PM
To: francisv () dagupan com; snort-users () lists sourceforge net
Subject: Re: [Snort-users] Library required for --enable-flexresp


-----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 () dagupan com"
<francisv () dagupan com> 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 () 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-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () 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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () 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)

iD8DBQE9oaR+Eqr8+Gkj0/0RArpJAJ9hMjH0yyHKIYXItzsRnXt7YL0nHQCgs7n6
gW78ZWZmw/MvnCbM/qpUsa0=
=95BG
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () 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


Current thread: