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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|