[Snort-devel] Snort 2.8.5.2 on AIX 6.1 - Update

Randal T. Rioux randy at ...3004...
Sun Jan 10 00:01:14 EST 2010


Success!

It was easier than I thought. ./configure just wasn't looking in /usr/lib
for some needed libraries. This one worked:

./configure --with-libpcap-libraries=/usr/local/lib LDFLAGS="-L/usr/lib"

This means I can finish my Snort on AIX guide! I'll send it to you guys
soon to post at snort.org.

Thanks,
Randy

On Sat, January 9, 2010 10:06 pm, Randal T. Rioux wrote:
> Ah yes, indeed it is. libodm.a is located in /usr/lib. I added
> CFLAGS="-lodm" and it got me past that error. I have others now, though.
> I'll fight with it tonight and post my results later.
>
> Thanks!
> Randy
>
>
> On Sat, January 9, 2010 9:50 pm, Steven Sturges wrote:
>> Those look something OS specific... odmerrno -- is there a
>> standard lib on AIX that is missing on the link path?
>>
>> Randal T. Rioux wrote:
>>> New error (note: must use gmake (getting closer!)):
>>>
>>> bash-3.2# ./configure --with-libpcap-libraries=/usr/local/lib
>>> ...blah blah...
>>>
>>> bash-3.2# gmake
>>> ...blah blah...
>>> gcc -g -O2 -fno-strict-aliasing -Wall -o snort debug.o decode.o log.o
>>> mstring.o parser.o profiler.o plugbase.o snort.o snprintf.o strlcatu.o
>>> strlcpyu.o tag.o util.o detect.o signature.o mempool.o sf_sdlist.o
>>> fpcreate.o fpdetect.o pcrm.o byte_extract.o sfthreshold.o packet_time.o
>>> event_wrapper.o event_queue.o inline.o ppm.o log_text.o
>>> detection_filter.o
>>> rate_filter.o  -L/usr/local/lib output-plugins/libspo.a
>>> detection-plugins/libspd.a dynamic-plugins/libdynamic.a
>>> preprocessors/libspp.a parser/libparser.a
>>> target-based/libtarget_based.a
>>> preprocessors/HttpInspect/libhttp_inspect.a
>>> preprocessors/Stream5/libstream5.a sfutil/libsfutil.a
>>> /usr/local/lib/libpcre.a -lpcap -lnsl -lm -ldl
>>> ld: 0711-317 ERROR: Undefined symbol: .odm_initialize
>>> ld: 0711-317 ERROR: Undefined symbol: .odm_lock
>>> ld: 0711-317 ERROR: Undefined symbol: .genmajor
>>> ld: 0711-317 ERROR: Undefined symbol: .getminor
>>> ld: 0711-317 ERROR: Undefined symbol: .odm_unlock
>>> ld: 0711-317 ERROR: Undefined symbol: .odm_terminate
>>> ld: 0711-317 ERROR: Undefined symbol: odmerrno
>>> ld: 0711-317 ERROR: Undefined symbol: .odm_err_msg
>>> ld: 0711-317 ERROR: Undefined symbol: .genminor
>>> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
>>> information.
>>> collect2: ld returned 8 exit status
>>> gmake[3]: *** [snort] Error 1
>>> gmake[3]: Leaving directory `/usr/src/snort-2.8.5.2/src'
>>> gmake[2]: *** [all-recursive] Error 1
>>> gmake[2]: Leaving directory `/usr/src/snort-2.8.5.2/src'
>>> gmake[1]: *** [all-recursive] Error 1
>>> gmake[1]: Leaving directory `/usr/src/snort-2.8.5.2'
>>> gmake: *** [all] Error 2
>>> bash-3.2#
>>>
>>> config.log is attached.
>>>
>>> Thanks!
>>> Randy
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast and
>>> easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Snort-devel mailing list
>>> Snort-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/snort-devel
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Snort-devel mailing list
>> Snort-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/snort-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
>






More information about the Snort-devel mailing list