http://www.perlmonks.org?node_id=11118027


in reply to Re^3: Shrink Images and PDFs
in 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.

Replies are listed 'Best First'.
Re^5: Shrink Images and PDFs
by haukex (Bishop) on Jun 13, 2020 at 19:35 UTC
Re^5: Shrink Images and PDFs
by perlfan (Vicar) on Jun 13, 2020 at 19:31 UTC
    Well, thanks for the heads up. It's been a while since I installed IM so I might have been pretty baffled if I did it again now.

    $ ./configure --with-modules --enable-shared --with-perl
    Ah well there you go.

      "Ah well there you go."

      You can't have tried this.

      /usr/bin/ld: cannot find -lperl collect2: error: ld returned 1 exit status