Dear Clemens and Ryan,
Thank you both for taking the time to give your thoughtful responses.
On 19/05/14 14:35 +0200, Clemens Lang wrote:
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,
Sorry, I should have mentioned that I have kept this up to date.
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.
$ env | grep -i DYLD
$
Indeed, there are no environment variables containing DYLD.
- 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.
$ 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.
--
Nick Urbanik http://nicku.org [email protected]
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users