rocketboy has asked for the wisdom of the Perl Monks concerning the following question:
I run a perl subroutine( call it A) which in turn issues a system call thereby calling a c executable (call it B). Now this C executable(B) has perl embedded in it. the newly developed perl interpreter (called by B ,say I name it as D ) has to make use of another perl code segment (D)which loads library at run time .
this perl code segment(D) has commands like "use UserLib.pm " and UserLib.pm has "use POSIX ; ".
Now when I run A ,i get the following error:
Can't Load POSIX.Dyanmic loading not available in this perl. You may need to build a new perl executable which supports dynamic loading or has the POSIX module statically linked to it.
please explain in layman's terms what could be done to solve this problem and also there can't be any modifications in the procedure i.e I need to call a c executable which has perl embedded in it from another perl subroutine.
thank you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: dynamic loading
by kvale (Monsignor) on May 07, 2006 at 07:11 UTC | |
by rocketboy (Novice) on May 07, 2006 at 07:30 UTC | |
Re: dynamic loading
by vkon (Curate) on May 07, 2006 at 07:23 UTC | |
by rocketboy (Novice) on May 07, 2006 at 07:31 UTC |