in reply to Re^3: Shrink Images and PDFsin thread Shrink Images and PDFs
"Sorry, I meant that the Perl module comes with installing ImageMagick itself if you do it from source."
This is not true. As documented a default install does not build Image::Magick. You can see problems just by looking at the test matrix and open bugs. See also Cannot compile Image::Magick.
You can see problems just by looking at the test matrix
IIRC (it's been a long time), installing it from CPAN never really worked well (or at all?); I remember the Perl module would get built when one complied ImageMagick from source. But even then, finnicky business I think. In any case, Imager is a nice alternative ("Nicholas Clark - How Geizhals took out ImageMagick before ImageMagick took *us* out"), and I haven't tried GraphicsMagick.
$ ./configure --with-modules --enable-shared --with-perl
"Ah well there you go."
You can't have tried this.
/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status