[Bro] Link error: magic_open

John Donnelly jdonnelly at dyn.com
Mon Oct 27 08:22:50 PDT 2014


Hi,

Do I need another package other than libmagic-dev ?



Linking CXX executable bro
CMakeFiles/bro.dir/util.cc.o: In function `bro_init_magic(magic_set**,
int)':
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1705: undefined
reference to `magic_open'
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1712: undefined
reference to `magic_error'
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1717: undefined
reference to `magic_load'
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1719: undefined
reference to `magic_error'
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1722: undefined
reference to `magic_close'
CMakeFiles/bro.dir/util.cc.o: In function `bro_magic_buffer(magic_set*,
void const*, unsigned long)':
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1729: undefined
reference to `magic_buffer'
/work/jpd/dyn/src/dynect2/edge_processing/bro/src/util.cc:1732: undefined
reference to `magic_error'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20141027/1aa86129/attachment.html 


More information about the Bro mailing list