Installing Imagemagick leads to weird error involving OpenCL
Solution 1:
Here's what I did to fix this.
- Booted up my old machine running OSX 10.6.
- Copied /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib from 10.6 computer into the same folder on 10.7.
Now things seem to be working fine.
Note: the file can also be found here:
Solution 2:
If you're using Homebrew, try the following command:
brew doctor
to diagnose the common problems.
One of it could be to remove DYLD_FALLBACK_LIBRARY_PATH variable from your ~/.profile if you have it.
Or you have to re-install libtool by:
brew reinstall libtool --universal && brew unlink libtool && brew link libtool