[Bro] build error on OSX ElC; OpenSSL

Heiland, Randy heiland at iu.edu
Wed Apr 20 10:41:36 PDT 2016


Got this working and will just report for the archive. Not entirely sure what the problem/fix was, but I:

1) upgraded cmake (to 3.5.2; previous was 2.8.12)
2) upgraded openssl: OpenSSL 1.0.2g  1 Mar 2016
3) made sure I wasn’t using the Anaconda Python distro (which also included openssl); rather using system Python (2.7.10)
4) upgraded couple other libs after bro warnings - CAF and swig
4) config’d via:
~/git/bro$ ./configure --with-openssl=/usr/local/ssl

and seemed to finally build OK:
~$ bro --version
bro version 2.4-454

-Randy

> On Apr 19, 2016, at 4:48 PM, Heiland, Randy <heiland at iu.edu> wrote:
> 
> Yes, but I built it.  Turns out, I’ve got multiple versions lying around which might be giving me grief. Sigh.
> 
> ~/git/bro$ /usr/local/ssl/bin/openssl 
> OpenSSL> version
> OpenSSL 1.0.2-beta2-dev xx XXX xxxx
> OpenSSL> quit
> 
> ~/git/bro$ which openssl
> /Users/heiland/anaconda3/bin/openssl
> ~/git/bro$ /Users/heiland/anaconda3/bin/openssl
> OpenSSL> version
> OpenSSL 1.0.2g  1 Mar 2016
> OpenSSL> quit
> 
> ~/git/bro$ /usr/bin/openssl
> OpenSSL> version
> OpenSSL 0.9.8zh 14 Jan 2016
> 
> I’ll dig around…
> 
> 
> 
>> On Apr 19, 2016, at 4:37 PM, Slagell, Adam J <slagell at illinois.edu> wrote:
>> 
>> Apple deprecated openssl.
>> 
>> https://www.bro.org/documentation/faq.html#why-does-v2-4-fail-to-build-on-mac-os-x-10-11
>> 
>> 
>>> On Apr 19, 2016, at 3:32 PM, Heiland, Randy <heiland at iu.edu> wrote:
>>> 
>>> Hi,
>>> 
>>> Trying to build Bro on OSX (10.11), I get an error about not being able to find my OpenSSL. Any ideas?
>>> 
>>> Before attempting the config, I set the following env vars:
>>> OPENSSL_INCLUDE_DIR=/usr/local/ssl/include
>>> OPENSSL_LIBRARIES=/usr/local/ssl/lib
>>> OPENSSL_ROOT_DIR=/usr/local/ssl
>>> 
>>> 
>>> ~/git/bro$ ./configure --with-openssl=/usr/local/ssl
>>> Build Directory : build
>>> Source Directory: /Users/heiland/git/bro
>>> -- Found sed: /usr/local/bin/sed
>>> -- Found PythonInterp: /Users/heiland/anaconda3/bin/python (found version "3.5.1") 
>>> -- Found FLEX: /usr/bin/flex (found version "2.5.35") 
>>> -- Found BISON: /usr/local/bin/bison  
>>> -- Found PCAP: /usr/lib/libpcap.dylib  
>>> -- Performing Test PCAP_LINKS_SOLO
>>> -- Performing Test PCAP_LINKS_SOLO - Success
>>> -- Looking for pcap_get_pfring_id
>>> -- Looking for pcap_get_pfring_id - not found
>>> -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_INCLUDE_DIR) 
>>> ...
>>> CMake Error at aux/binpac/CMakeLists.txt:17 (message):
>>> Could not find prerequisite package 'OpenSSL'
>>> 
>>> 
>>> CMake Error at aux/binpac/CMakeLists.txt:19 (message):
>>> Configuration aborted due to missing prerequisites
>>> 
>>> thanks,
>>> Randy
>>> 
>>> p.s. what’s recommended to search your mail archive - gmane?
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Bro mailing list
>>> bro at bro-ids.org
>>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>> 
>> ------
>> 
>> Adam J. Slagell
>> Chief Information Security Officer
>> Director, Cybersecurity Division
>> National Center for Supercomputing Applications
>> University of Illinois at Urbana-Champaign
>> www.slagell.info
>> 
>> "Under the Illinois Freedom of Information Act (FOIA), any written communication to or from University employees regarding University business is a public record and may be subject to public disclosure." 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro




More information about the Bro mailing list