Problem w/ Paperclip, MacPorts, ImageMagick & Snow Leopard
- by Kyle Decot
I'm attempting to use ImageMagick along w/ Paperclip to handle the images on my rails app. The problem is whenever I try to upload an image I get the following in the terminal:
[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/go/goZ833AaFaqyvv5RnLqQmE+++TM/-Tmp-/stream20110107-6356-1xfs9j1-0.jpg is not recognized by the 'identify' command.>
I have added the following to my environments/development.rb file:
Paperclip.options[:command_path] = "/usr/local/bin"
If I try to interact w/ ImageMagick in the terminal by using "convert" or something similar I get:
dyld: Library not loaded: /opt/local/lib/libltdl.7.dylib
Referenced from: /usr/local/bin/convert
Reason: Incompatible library version: convert requires version 10.0.0 or later, but libltdl.7.dylib provides version 9.0.0
Trace/BPT trap
I've already tried updating everything w/ port but the problem still persists. Does anyone have any ideas or suggestions?