dyld: Library not loaded: /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dylib
Clemens Lang
cal at macports.org
Mon May 19 05:35:02 PDT 2014
Hi,
> 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
Making sure you're up to date is a good idea, but instead of manually rebuilding
perl5.16, do the following:
- Ensure your environment does not contain any DYLD_* variables. Check using
env | grep DYLD. This command should print nothing.
- Run sudo port rev-upgrade. Rev-upgrade will automatically find binaries like
the one that's broken on your system, automatically determine the necessary
actions to fix the problem and execute them.
--
Clemens Lang
More information about the macports-users
mailing list