openssl vs. libressl

Jeremy Huddleston Sequoia jeremyhu at macports.org
Mon Nov 9 16:11:54 PST 2015


> On Nov 9, 2015, at 13:40, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Monday November 09 2015 15:27:54 Ryan Schmidt wrote:
> 
>>> Interesting. I think it was FreeBSD that tried to do that (both API and ABI) and failed at both, and said rebuild stuff for one or the other. Apparently they were the ones who made the mistake, and it actually works if done right?
>> 
>> You are correct, it does not work.
> 
> This is what I predicted.
> 
>> 
>> 
>> $ curl https://www.macports.org/
>> dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
>>  Referenced from: /opt/local/bin/curl
>>  Reason: image not found
>> Trace/BPT trap: 5
> 
> Now what if you do
> 
> %> ln -s libssl.35.dylib libssl.1.0.0.dylib ?
> 
> (assuming that libressl indeed installs libssl.35.dylib)
> 
> If that works, it can be handled with a very simple post-destroot addition in both ports .

Don't do that.  There's a 99% chance it won't work for you.

--Jeremy


More information about the macports-users mailing list