[Bro] bro segfaults on startup

Robin Sommer robin at icir.org
Tue Jan 10 20:04:28 PST 2006


On Tue, Jan 10, 2006 at 14:53 -0500, David Vasil wrote:

> `/usr/lib/libresolv.a(ns_parse.o)' is incompatible with i386:x86-64 output

That sounds indeed familiar. On the SUSE system, this hack solved
the problem:

(1) Patching configure.in:

--- configure.in~       2005-12-22 01:12:21.000000000 +0100
+++ configure.in        2005-12-22 01:12:21.000000000 +0100
@@ -241,7 +241,7 @@
 dnl Specifying a specific resolver library seems to work/be necessary
 dnl on all OSs, but Darwin needs -lresolv instead of
 /usr/lib/libresolv.a
 dnl We define the default here and overwrite below. --ck
-bro_libresolv="/usr/lib/libresolv.a"
+bro_libresolv="/usr/lib64/libresolv.a"

 case "$target_os" in

(2) Running ./autogen.sh

(3) LDFLAGS=-L/usr/lib64/termcap/ ./configure

Robin

-- 
Robin Sommer * Phone +1 (510) 666-2886 * robin at icir.org 
ICIR/ICSI    * Fax   +1 (510) 666-2956 *   www.icir.org



More information about the Bro mailing list