Skip to content

Instantly share code, notes, and snippets.

@madhums
Created August 11, 2011 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madhums/1138776 to your computer and use it in GitHub Desktop.
Save madhums/1138776 to your computer and use it in GitHub Desktop.
imagemagick jpeg lib missing
if you get this error
[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError /tmp/stream20110811-30041-x7rvaq-0.jpg is not recognized by the 'identify' command.
try
$identify whatever_file_name.jpg
if you get something like this
identify: no decode delegate for this image format `madhusudhanms.jpg' @ error/constitute.c/ReadImage/532.
Then you are missing some libraries
Go to http://www.imagemagick.org/download/delegates/
and download jpeg and libpng libraries.
Untar it, then
./configure
make
sudo make install (to check if it has the directory permissions to get installed in the location)
reinstall imagemagick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment