Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: The required ImageMagick libraries are not installed or not installed properly.

by zentara (Archbishop)
on Apr 11, 2017 at 15:10 UTC ( [id://1187656]=note: print w/replies, xml ) Need Help??


in reply to Re^2: The required ImageMagick libraries are not installed or not installed properly.
in thread The required ImageMagick libraries are not installed or not installed properly. [SOLVED]

Installing PerlMagick on a Linux OS is as easy as it comes. You said you installed the pre-requisite ImageMagick libs with your package manager, but you probably are missing a libmagick-devel package. I just don't know why so many package managers split the runtime and devel packages. It causes so much confusion.

The way I always do it, is manually. No package managers needed. It always works. My approach is similar to stevieb's but a bit different.

First, get the latest ImageMagick source tar ball, currently at IM source tar ball . Then tar -xvf ImageMagick.tar.gz. Then cd into the directory and just do ./configure and then "make" , then "sudo make install", or just make install as root. IM will install itself to it's default location in /usr/local and put all the needed files in the proper place. Then as root do a "ldconfig" to make sure the new libraries are loaded.

Then download the PerlMagick module from cpan, currently at PerlMagick , unpack it, cd into it, and do "perl Makefile.PL" then "make" then as root "make install". Report back here any errors you encounter.

My above procedure is the age-old standard foolproof way of manually installing libs and modules. You can manually install any module you want without the problems associated with package managers. You can install GD by the same procedure, it's just the standard way described in the README's of the libraries.The PerlMagick and ImageMagick module and library are of the highest quality as far as being bugfree. They always compile and install cleanly. Good luck.


I'm not really a human, but I play one on earth. ..... an animated JAPH
  • Comment on Re^3: The required ImageMagick libraries are not installed or not installed properly.

Replies are listed 'Best First'.
Re^4: The required ImageMagick libraries are not installed or not installed properly.
by thanos1983 (Parson) on Apr 11, 2017 at 15:34 UTC

    Hello zentara,

    Finally!!!! thanks!!!!!! I installed the (libmagick++-dev) and then everything worked like a charm.

    See log bellow:

    $ cpan Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v2.16) Enter 'h' for help. cpan[1]> install Image::Magick Reading '/home/tinyos/.cpan/Metadata' Database was generated on Tue, 11 Apr 2017 07:53:44 GMT Image::Magick is up to date (6.89).

    Thanks again, I was about to bounce my head on the wall.

    Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found