Snort mailing list archives
Re: Snort 3 Build 245 on FreeBSD
From: Y M via Snort-devel <snort-devel () lists snort org>
Date: Sat, 2 Jun 2018 19:23:22 +0000
Thank you, Russ. This works. YM ________________________________ From: Snort-devel <snort-devel-bounces () lists snort org> on behalf of Russ via Snort-devel <snort-devel () lists snort org> Sent: Saturday, June 2, 2018 10:10 PM To: snort-devel () lists snort org Subject: Re: [Snort-devel] Snort 3 Build 245 on FreeBSD This is a hack, but it will get you around the problem. After configuring and before making, do this: sed -i -e "/HAVE_ICONV/d" config.h Thanks Russ On 5/31/18 4:06 PM, Y M via Snort-devel wrote: I completely removed libiconv and now Snort compiles as expected. Thanks. YM ________________________________ From: Snort-devel <snort-devel-bounces () lists snort org><mailto:snort-devel-bounces () lists snort org> on behalf of Y M via Snort-devel <snort-devel () lists snort org><mailto:snort-devel () lists snort org> Sent: Thursday, May 31, 2018 10:54 PM To: snort-devel () lists snort org<mailto:snort-devel () lists snort org> Subject: [Snort-devel] Snort 3 Build 245 on FreeBSD Hi, Compiling Snort 3 Build 245 on FreeBSD fails at the make step with the below error: [ 97%] Linking CXX executable snort utils/CMakeFiles/utils.dir/util_utf.cc.o: In function `UtfDecodeSession::convert_character_encoding(char const*, char const*, char*, char*, unsigned long, unsigned long, unsigned long*)': /root/sources/snort3/src/utils/util_utf.cc:359: undefined reference to `libiconv_open' /root/sources/snort3/src/utils/util_utf.cc:364: undefined reference to `libiconv' /root/sources/snort3/src/utils/util_utf.cc:367: undefined reference to `libiconv_close' /root/sources/snort3/src/utils/util_utf.cc:374: undefined reference to `libiconv_close' c++: error: linker command failed with exit code 1 (use -v to see invocation) --- src/snort --- *** [src/snort] Error code 1 make[2]: stopped in /root/sources/snort3/build 1 error make[2]: stopped in /root/sources/snort3/build --- src/CMakeFiles/snort.dir/all --- *** [src/CMakeFiles/snort.dir/all] Error code 2 make[1]: stopped in /root/sources/snort3/build 1 error make[1]: stopped in /root/sources/snort3/build *** [all] Error code 2 make: stopped in /root/sources/snort3/build 1 error make: stopped in /root/sources/snort3/build I reconfigured Snort with --define=ICONV_ACCEPTS_NONCONST_INPUT:BOOL=true, but it didn't help. The same step on CentOS works as expected. Is there a way to move beyond this error? Thanks (and thanks for the tcmalloc support). YM _______________________________________________ Snort-devel mailing list Snort-devel () lists snort org<mailto:Snort-devel () lists snort org> https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort!
_______________________________________________ Snort-devel mailing list Snort-devel () lists snort org https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Snort 3 Build 245 on FreeBSD Y M via Snort-devel (May 31)
- Re: Snort 3 Build 245 on FreeBSD Y M via Snort-devel (May 31)
- Re: Snort 3 Build 245 on FreeBSD Russ via Snort-devel (Jun 02)
- Re: Snort 3 Build 245 on FreeBSD Y M via Snort-devel (Jun 02)
- Re: Snort 3 Build 245 on FreeBSD Russ via Snort-devel (Jun 02)
- Re: Snort 3 Build 245 on FreeBSD Y M via Snort-devel (May 31)