[Snort-users] More Solaris Woes

Randal T. Rioux randy at ...13561...
Mon Sep 22 16:54:54 EDT 2008


No, both were done on fresh installs, so there is no file overlap.


On Mon, September 22, 2008 9:29 am, Ryan Jordan wrote:
> When you build libpcap from source, is it installing to the same directory
> as the Sunfreeware package?
>
> On Sat, Sep 20, 2008 at 7:02 PM, Randal T. Rioux
> <randy at ...13561...>wrote:
>
>> Ok, this is strange. First, my setup:
>>
>> Sun X1 - 400Mhz
>> Solaris 10 05/08
>> Snort 2.8.3
>> Libpcap 0.9.8
>>
>> Problem: ./configure(ing) Snort 2.8.3 produces the following error:
>>
>> ..blah blah blah...
>> checking for pcap_datalink in -lpcap... no
>> checking pfring.h usability... no
>> checking pfring.h presence... no
>> checking for pfring.h... no
>> checking for pfring_open in -lpfring... no
>> checking for pfring_open in -lpcap... no
>>
>>   ERROR!  Libpcap library/headers (libpcap.a (or .so)/pcap.h)
>>   not found, go get it from http://www.tcpdump.org
>>   or use the --with-libpcap-* options, if you have it installed
>>   in unusual place.  Also check if your libpcap depends on another
>>   shared library that may be installed in an unusual place
>>
>> config.log shows this:
>>
>> configure:23366: checking for pcap_datalink in -lpcap
>> configure:23401: gcc -o conftest -g -O2 -Wall -mcpu=v9   -DBSD_COMP
>> -D_REENTRANT  conftest.c -lpcap  -lm -lsocket -lnsl  >&5
>> Undefined                       first referenced
>>  symbol                             in file
>> pcap_lex
>>
>> /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../libpcap.a(grammar.o)
>> lex_cleanup
>>
>> /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../libpcap.a(gencode.o)
>> lex_init
>>
>> /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../libpcap.a(gencode.o)
>> ld: fatal: Symbol referencing errors. No output written to conftest
>> collect2: ld returned 1 exit status
>>
>> Now for the oddity. This error only shows when using a source compiled
>> version of libpcap. If I use the Sunfreeware package, everything works
>> fine. My question: what would cause this error? Does anyone know the
>> configure flags used to create the Sunfreeware package? I'm not using
>> any
>> at all and it compiles fine, but Snort does not like it!
>>
>> As always, any help is greatly appreciated. Have a nice weekend.
>>
>> Randy
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> 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<https://lists.sourceforge.net/lists/listinfo/snort-usersSnort-users>list
>> archive:
>> http://www.geocrawler.com/redir-sf.php3?list=snort-users
>>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> 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






More information about the Snort-users mailing list