I'm having some problems trying to use GD library on server.

First of all, I realized this library was not present on my server. Not bad (well, GD is part of MacPerl standard distribution; I thought it could be the same with Linux). I've downloaded a version of GD library and I've tried to compile it (in my own directory, cause I haven't root privileges).

Now comes the annoying part.
Trying to load the library, perl answers:
Can't load module GD, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the GD module statically linked into it.)
In GD.pm documentation, I've read:
If the make and install all seem to go well but you get errors like "Fatal error: can't load module GD.so", or "Fatal error: unknown symbol gdFontSmall" when you try to run a script that uses GD, you may have problems with dynamic linking. Check whether other dynamically-linked Perl modules such as POSIX and DB_File run correctly.

I tried to use POSIX library, and perl does not complain. I'd be glad if I have not to reinstall Perl. Could someone help me? When you want. I'm not holding my breath :)

larsen
-- "Fatti non foste a viver come bruti"

In reply to Problems compiling GD by larsen

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.