I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-05 13:43:25-07 by mmathew in response to 5225
Re: Dynamice Loading of Perl
Hello,
I am new to embedding perl in C.
I got a the same error you faced.


# ./testperl index.pl
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.)
Compilation failed in require at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/Handle.pm line 256.
BEGIN failed--compilation aborted at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/Handle.pm line 256.
Compilation failed in require at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/Seekable.pm line 101.
Compilation failed in require at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/File.pm line 112.
BEGIN failed--compilation aborted at /usr/perl5/5.6.1/lib/sun4-solaris-64int/IO/File.pm line 112.
Compilation failed in require at /opt/siilo/scripts/lib/Config/Record.pm line 27.
BEGIN failed--compilation aborted at /opt/siilo/scripts/lib/Config/Record.pm line 27.
Compilation failed in require at index.pl line 22.
BEGIN failed--compilation aborted at index.pl line 22.
Undefined subroutine &main::storekeyval called at index.pl line 22.
#

I followed the link you have pasted.Somehow the glue didnt work. Would be great if you have any suggestions /pointers.

Thanks in advance,
MM.
Direct Responses: Write a response