Lion (10.7) Not supporting Convert(1). Dylib error

Pier-Olivier Thibault picture Pier-Olivier Thibault · Jul 20, 2011 · Viewed 9.7k times · Source

When trying to use convert(1), I get the following error:

dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib
Referenced from: /usr/local/bin/convert
Reason: image not found
Trace/BPT trap: 5

Any idea how I could fix it ?

Answer

Callmeed picture Callmeed · Jul 22, 2011

I was getting this error as well–with a homebrew install of ImageMagick. Along the same lines as Pascal, I fixed it with

  1. Install XCode 4.1 (from the App Store)
  2. In Xcode, go to Xcode > Preferences... > Downloads tab > click Install next to Command Line Tools
  3. Uninstall ImageMagick with brew uninstall imagemagick
  4. Update homebrew with brew update
  5. Install latest homebrew with brew install imagemagick
  6. Run brew doctor and delete any of the *.la and *.a files listed if step 4 fails on make install