Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   MacOS install failure - cannot find ssl.h, posted by Christina Swinson on Mon Dec 5 20:11:47 2016 
    icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Tue Dec 6 09:45:03 2016 
       icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Christina Swinson on Tue Dec 6 20:32:48 2016 
          icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Tue Dec 6 20:38:49 2016 
          icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Christina Swinson on Tue Dec 6 20:43:48 2016 
             icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Mon Dec 12 15:28:49 2016 
                icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by stefano bonaldo on Thu Dec 15 01:38:20 2016 
                   icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 12:50:51 2016 
                      icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefano Bonaldo on Thu Dec 15 15:04:53 2016 
                         icon2.gif   Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 15:41:59 2016 
Message ID: 68500     Entry time: Mon Dec 12 15:28:49 2016     In reply to: 68493     Reply to this: 68501
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Mac OSX  ELOG Version: 3.1.2 
Subject: Re: MacOS install failure - cannot find ssl.h 

My macports puts it under

/opt/local/include/openssl/ssl.h

Christina Swinson wrote:

I responded too quickly.

I already have openssl installed via macports (this is the "Mac version" of libssl-dev).

Does anyone know where exactly elog is looking for openssl/ssl.h? I have just updated Macports and upgraded to Sierra, so maybe it's been dumped it in a different location.

Christina

Christina Swinson wrote:

Oops!

I think that I must have skipped straight to the MacOS notes instead of reading the linux section properly.

Thanks for the help,

Christina

Stefan Ritt wrote:

If you look into the documentationa at:

http://midas.psi.ch/elog/adminguide.html#unix

you will see that for Linux (as well asl MacOS) you need the libssl-dev packaged to be installed. There are many ways to install this on MacOS, I personally use the MacPorts distribution:

https://www.macports.org/ports.php?by=library&substr=openssl

Best regards,
Stefan

 

Christina Swinson wrote:

Hi,

I am trying to install on MacOS Sierra. I believe that I have followed all the steps correctly, but the install is failing with the following error: 

cc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-declarations -DHAVE_SSL -o elog src/elog.c crypt.o  -lssl
src/elog.c:57:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
         ^
1 error generated.
make: *** [elog] Error 1

Help appreciated!

Thanks,
Christina

 

 

 

 

ELOG V3.1.5-fe60aaf