Um, I think you're going to have to reinstall perl :-)

Your version of Perl was not compiled with support for loading modules written in C (or other languages) at runtime... A lot of modules that have to call routines from C libraries or otherwise do things that are not easy to do from perl itself come with these modules, and usually Perl for a modern Unix (or Linux ;-) will be built with support for loading these modules... You can turn it off at compile time (I think if support is found, the option is turned on if you accept the defaults). It's probably best to compile it yourself so you get it working the way you want, rather than install using a binary packaging system like RPM. Once you've got dynamic loading turned on, you shouldn't need to recompile Perl again to add new modules like this.

As to POSIX, it's a standard module, and will be statically linked if dynamic loading is turned off, so as a test of whether or not dynamic loading is working, it's a tad limited.

Andrew.


In reply to Re: Problems compiling GD by ahunter
in thread 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.