Symptoms
When installing imagick from Pecl, you receive an error "file not recognized: File truncated"
Description
Pecl produces the following error when trying to install imagick.
file not recognized: File truncated
collect2: error: ld returned 1 exit status
make: *** [imagick.la] Error 1
ERROR: `make' failed
This is due to a module returning the wrong information causing the process to exit.
Workaround
Reinstall the RPM with yum.
yum remove ImageMagick
yum install ImageMagick ImageMagick-c++ ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl
Comments
0 comments
Article is closed for comments.