HI monks,
I got an error like this when i executed a C code which calls a perl subroutine which inturn uses many other perl modules
Can't load module IO, dynamic loading not available in this perl. (You may need to build a new perl executable which either supports dynamic loading or has the IO module statically linked into it.) at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Handle.pm line 256 Compilation failed in require at /usr/lib/perl5/5.8.0/i386-linux-threa +d-multi/IO/Handle.pm line 256. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/i386-linux-t +hread-multi/IO/Handle.pm line 256. Compilation failed in require at /usr/lib/perl5/5.8.0/i386-linux-threa +d-multi/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/i386-linux-t +hread-multi/IO/Seekable.pm line 101. Compilation failed in require at /usr/lib/perl5/5.8.0/i386-linux-threa +d-multi/IO/File.pm line 112. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/i386-linux-t +hread-multi/IO/File.pm line 112. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Email/ +Valid.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Em +ail/Valid.pm line 9. Compilation failed in require at /home/smug/public_html/libs/MiscLib.p +m line 13. BEGIN failed--compilation aborted at /home/smug/public_html/libs/MiscL +ib.pm line 13. Compilation failed in require at /home/smug/public_html/libs/BC.pm lin +e 8. BEGIN failed--compilation aborted at /home/smug/public_html/libs/BC.pm + line 8. Compilation failed in require at compat_check_tags.pl line 25. BEGIN failed--compilation aborted at compat_check_tags.pl line 25.

The command i used for compiling the code was cc -o power power.c `perl -MExtUtils::Embed -e ccopts -e ldopts`where power.c is the name of the C file. Could any one help me to find the error.I am using perl verison 5.8.0

In reply to error in embeding perl in C by jithoosin

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.