[MacPorts] #19122: OpenSSL 1.0.0-beta1 breaks packages that expect libcrypto.0.9.8

Ryan Schmidt ryandesign at macports.org
Thu Jul 29 20:54:57 PDT 2010


On Jul 29, 2010, at 22:51, watson wrote:

> I am rather ignorant of these things. (like I said, I only installed
> macports recently) But this is what happens when I run git:
> 
> packages% git
> dyld: Library not loaded: /opt/local/lib/libcrypto.0.9.8.dylib
>  Referenced from: /opt/local/bin/git
>  Reason: image not found
> Trace/BPT trap
> 
> Is the solution to blow away my current git and then re-install it?

Yes, though MacPorts should have handled this gracefully because git's revision was bumped at the same time that openssl was updated to 1.0.0a. So you should be able to just run:

sudo port selfupdate
port outdated
sudo port clean outdated
sudo port upgrade outdated

This should upgrade git and anything else that's outdated and leave you with working ports. If for some reason git is not shown as outdated and does not rebuild, force it to anyway:

sudo port -n upgrade --force git

> Will MP take care of noticing that i now have OpenSSL v1 instead of
> what it was before and deal with it automatically?

Yes. When you build software, it will link with whatever version of the libraries it needs that are currently installed.




More information about the macports-users mailing list