make install error

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
tiffbrink

make install error

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make install error

Post 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.
tiffbrink

Re: make install error

Post by tiffbrink »

I solved my own problem by running sudo apt-get install libperl-dev
Post Reply