[Bro] bro 1.4 - pybroccoli error

Christian Kreibich christian at whoop.org
Wed Oct 22 17:02:03 PDT 2008


On Tue, 2008-10-21 at 12:25 -0700, Robin Sommer wrote:
> On Tue, Oct 21, 2008 at 18:38 +0800, you wrote:
> 
> > In Bro 1.4 release, running autogen.sh followed by the normal
> > ./configure fixes this issue.
> 
> That's good to know, thanks! Not sure what the underlying problem is
> but we'll see if we can find something.

We have identified the cause of the problem. On FreeBSD 7, the libtool
script we include in the Broccoli tree does not correctly create a .so
symlink in the local build directory. This causes the Python module to
be statically linked against Broccli, which in turn causes the
additional dependencies of libssl and libcrypto to remain unresolved at
runtime.

For the time being, re-running autogen.sh in aux/broccoli is the correct
workaround. Alternatively you can apply this patch to
aux/broccoli/bindings/python/setup.py:

--- setup.py~   2008-07-14 19:17:59.000000000 -0400
+++ setup.py    2008-10-21 19:55:53.000000000 -0400
@@ -14,6 +14,6 @@
     ext_modules = [
         Extension("_broccoli_intern", ["broccoli_intern_wrap.c"],
                   library_dirs=["../../src/.libs"],
-                  libraries=["broccoli"])]
+                  libraries=["broccoli", "ssl", "crypto"])]
 )


We'll fix the issue in the 1.4.1 release.

-- 
Cheers,
Christian




More information about the Bro mailing list