When upgrade Mac OS X to Mac OS 10.10 Yosemite,
dyld: Library not loaded: /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/libperl.dylib
Referenced from: /Applications/someApp
Reason: image not found
Trace/BPT trap: 5
because there are some new perl coming with this OS. For example,
 $ ls -l /usr/bin/perl*
-rwxr-xr-x   1 root  wheel  58416 Sep  9  2014 /usr/bin/perl
-rwxr-xr-x   1 root  wheel  35600 Sep  9  2014 /usr/bin/perl5.16
-rwxr-xr-x   1 root  wheel  35600 Sep  9  2014 /usr/bin/perl5.18
-rwxr-xr-x  38 root  wheel    811 Sep  9  2014 /usr/bin/perlbug
...
We might install a perl through 
MacPort in opt/...  If so, we can uninstall it
 $ sudo port uninstall perl
and in /usr/local/bin
 $ sudo rm perl*
Now 
symlink the Perl 5.18 
 $ sudo ln -s /System/Library/Perl/5.18 /usr/local/bin/perl
 
No comments:
Post a Comment