[Bro] Can't load magic file <default> on CentOS 5

Knick, Scott E CTR USARMY RCERT-EUR (US) scott.e.knick.ctr at mail.mil
Thu May 8 23:59:25 PDT 2014


Good to hear! Libmagic in general seems a little hokey given how it must resolve the magic file. Thanks.

-----Original Message-----
From: Siwek, Jonathan Luke [mailto:jsiwek at illinois.edu] 
Sent: Thursday, May 08, 2014 5:39 PM
To: Knick, Scott E CTR USARMY RCERT-EUR (US)
Cc: Mike Kolkebeck; bro at bro.org
Subject: Re: [Bro] Can't load magic file <default> on CentOS 5


On May 8, 2014, at 3:06 AM, Knick, Scott E CTR USARMY RCERT-EUR (US) <scott.e.knick.ctr at mail.mil> wrote:

> Does anyone know if there's a way to easily statically link Bro against libmagic?

If it were possible to arrange things so that only libmagic.a is in the paths being searched, I think Bro would just go with that.  Or a quick/dirty way would be to edit Bro's cmake/FindLibMagic.cmake to unconditionally do [1] instead of just when on Darwin.

Also just FYI, Bro 2.3 won't depend on libmagic.

- Jon

[1] https://github.com/bro/cmake/blob/master/FindLibMagic.cmake#L29




More information about the Bro mailing list