Make error on Mac OS 10

Bro Mailing List,

I am attempting to install Bro 2.4.1 on Mac OS 10.6.8. The prereqs have been installed and the ./configure works. During Make, at the 89% level, the system reports:

ld: library not found for -lpython2.7

collect2: ld returned 1 exit status
make[3]: *** [aux/broctl/aux/pysubnettree/] Error 1
make[2]: *** [aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/all] Error

The default python install is 2.6, so I installed version 2.7 from Python works fine from the command line but the same error recurs. The following is my path:


Does python have to be installed in a different directory, this path reflects the default? Any ideas on how to resolve this issue?



Hello George,

I sadly do no longer have a copy of snow leopard, so I cannot really try
this myself. However, Bro should not hardcode any python library versions,
so I assume that python 2.7 actually already was present somewhere on your
system (e.g. installed by homebrew or macports) and that this is some kind
of include path issue.

Could you potentially include the full output of configure and a few lines
of make before the error occurs, either here or in a private mail to me?