[Bro-Dev] [JIRA] (BIT-1096) Should check version of libmagic not version of file
Ryan Schmidt (JIRA)
jira at bro-tracker.atlassian.net
Fri Nov 22 12:36:12 PST 2013
Ryan Schmidt created BIT-1096:
Summary: Should check version of libmagic not version of file
Project: Bro Issue Tracker
Issue Type: Problem
Affects Versions: 2.2
Environment: Mac OS X 10.6.8; libmagic and other dependencies installed using MacPorts
Reporter: Ryan Schmidt
As far as I can tell, bro requires the libmagic library, but not the file program. However bro's configuration script appears not to be checking the version of the libmagic library, but the version of the file program. This is a problem in distributions like MacPorts where the libmagic library and the file program are in separate packages; installing the libmagic package does not mean you will automatically get the corresponding version of the file program.
This causes a build failure on Mac OS X 10.6 Snow Leopard for example which ships with /usr/bin/file version 5.03. Even though libmagic 5.15 is installed from MacPorts, bro fails to configure, thinking it's too old. The MacPorts project's bug report for that is https://trac.macports.org/ticket/41457
Could you change bro's configuration script to check the version of libmagic instead? You can check MAGIC_VERSION in magic.h.
This message was sent by Atlassian JIRA
More information about the bro-dev