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

In reply to Re^3: The required ImageMagick libraries are not installed or not installed properly. by zentara
in thread The required ImageMagick libraries are not installed or not installed properly. [SOLVED] by thanos1983

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.