openssl vs. libressl

René J.V. Bertin rjvbertin at gmail.com
Mon Nov 9 13:40:55 PST 2015


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 .

R


More information about the macports-users mailing list