I am workng with active perl (perl 5.6.1 build 631) on SuSE linux on os390.
I have configured perl  using the default options. The only additional
configure option I specified is the -Dusedl flag. I am using embeded perl in
my C application. I have the following perl script
---------------------------------
package EVTSCRIPT;
use POSIX;
use strict;
sub BEGIN { }
sub END { }
1;
-----------------------------------
When I run my C application and invokde the above script, I get the
following error:
Can't load '/usr/local/lib/auto/POSIX/POSIX.so' for module POSIX:
/usr/local/lib/auto/POSIX/POSIX.so: undefined symbol: PL_sv_undef at
/usr/local/lib/XSLoader.pm line 75.
Compilation failed in require at /opt/evtscript.pl line 2.
BEGIN failed--compilation aborted at /opt/evtscript.pl line 2.
I am linking my C application with libperl.a and Dynaloader.a libraries. Do
I need to specify some other options when configuring perl on os390?
Are there any additional libraries that I need to link to?  Is there any
need to link withn POSIX.a?

Thanks,
Manisha


Reply via email to