Page 1 of 1

make install error

Posted: 2009-04-03T10:29:20-07:00
by tiffbrink
This is the error I get when I try to make...


make all-am
make[1]: Entering directory `/usr/lib/ImageMagick-6.5.1-0'
cd PerlMagick && make CC='gcc -std=gnu99'
make[2]: Entering directory `/usr/lib/ImageMagick-6.5.1-0/PerlMagick'
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/usr/lib/ImageMagick-6.5.1-0/PerlMagick/../magick/.libs:/usr/lib/ImageMagick-6.5.1-0/PerlMagick/../wand/.libs" cc -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared -O2 -g -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/usr/lib/ImageMagick-6.5.1-0/PerlMagick/../magick/.libs -lMagickCore -L/usr/lib/ImageMagick-6.5.1-0/PerlMagick/../wand/.libs -lMagickWand -lperl -lm \

/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[2]: Leaving directory `/usr/lib/ImageMagick-6.5.1-0/PerlMagick'
make[1]: *** [all-perl] Error 2
make[1]: Leaving directory `/usr/lib/ImageMagick-6.5.1-0'
make: *** [all] Error 2

Please help.

Re: make install error

Posted: 2009-04-03T10:32:52-07:00
by magick
If you not need PerlMagick (Perl interface to ImageMagick) type
  • make -k -i install
If you do need PerlMagick you may need to install the Perl and / or Perl developer RPM and try again.

Re: make install error

Posted: 2009-04-03T10:35:16-07:00
by tiffbrink
I solved my own problem by running sudo apt-get install libperl-dev