Getting this error?
dyld: NSLinkModule() error
dyld: Library not loaded: /Users/severin/Dev/Projects/MAMP_1.7_src/lib/libltdl.3.dylib
Referenced from: /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/mcrypt.so
Reason: image not found
Trace/BPT trap
You need to either execute this: export DYLD_LIBRARY_PATH=/Applications/MAMP/Library/lib:${DYLD_LIBRARY_PATH} in your shell window before running a PHP script from the command line (but be warned that this may break lots of other software you use from the command line, like vim) or you need to wrap /Applications/MAMP/bin/php5/bin/pear and /Applications/MAMP/bin/php5/bin/symfony in something that looks like this:
#!/bin/bash
export DYLD_LIBRARY_PATH=/Applications/MAMP/Library/lib:${DYLD_LIBRARY_PATH}
/Applications/MAMP/bin/php5/bin/pear_bin
export DYLD_LIBRARY_PATH='';
I bought MacBook and install MAMP 1.7.
I tried to use “pear install” command but I met this error .
This entry helps me
Now, I can use pear install.
Thank you for your good information!
Written by
kskmeuk
on
December 15, 2007 at
7:44pm
If you enjoy the content, consider subscribing to the feed(s).
Jump to comments