/usr/bin/ld: cannot find -lperl

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: /usr/bin/ld: cannot find -lperl

Post by anthony »

Install perl? or turn off the perl build using the configuration options.
For example --without-perl
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
sabater_wb

Re: /usr/bin/ld: cannot find -lperl

Post by sabater_wb »

hello.
I got this error when I tried to compile imagemagick. So, I compiled it using --without-perl
--

The problem now, is that using imagick this script doesn't work:
$im = new Imagick($foto);
$im->sepiaToneImage(80);
$im->writeImage($foto);
$im->destroy();

The image generated is a light blue image. The same script works on another server.
Other commands using imagick work. The problem is just with sepiatone.

Is this issue related to the "--without-perl" ?
Post Reply