[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: dyld: Library not loaded: /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dy
From:       Ryan Schmidt <ryandesign () macports ! org>
Date:       2014-05-20 20:53:03
Message-ID: 4B1DAFE2-5EC3-42BE-8A59-8FF3BD009B6E () macports ! org
[Download RAW message or body]

On May 20, 2014, at 15:44, Nick Urbanik wrote:

> $ sudo port rev-upgrade
> --->  Scanning binaries for linking errors: 100.0%
> --->  No broken files found.
> $ perl -v
> 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
> $
> 
> Finally, I tried sudo port -n upgrade --force perl5.16; still the same
> result with perl -v afterwards.

This makes me think /opt/local/bin/perl is not a symlink to perl5.16 as it should be, \
but is actually an old copy of perl somehow. Is that possible? In other words, could \
you have at some point copied /opt/local/bin/perl5.16 to /opt/local/bin/perl for some \
reason? Let's check if that's the case by running:

ls -ld /opt/local/bin/perl*

And also:

port provides /opt/local/bin/perl

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic