dyld: Library not loaded: /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dylib
Ryan Schmidt
ryandesign at macports.org
Mon May 19 04:50:15 PDT 2014
On May 17, 2014, at 19:53, Nick Urbanik wrote:
> On MacOS 10.6.8, we have had macports installed for a couple of years
> without problems.
>
> But now, Perl is unexpectedly broken, for reasons that are not clear
> to me:
>
> $ /opt/local/bin/perl --version
> dyld: Library not loaded: /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dylib
> Referenced from: /opt/local/bin/perl
> Reason: image not found
> Trace/BPT trap
>
> I will be grateful for any suggestions on how to solve this problem.
Ensure you're up to date:
sudo port selfupdate
sudo port upgrade outdated
If you still have the problem, then try rebuilding perl5.16. That library is at /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE/libperl.dylib these days.
sudo port -n upgrade --force perl5.16
More information about the macports-users
mailing list