in reply to Re: Perl embedding
in thread Perl embedding

I appreciate your response, but this does not fix my problem. Can anyone tell me where PV_sv_undef is suppose to be? I did nm's on all the .so files in the perl lib directory for this version and none of the .so files publish any symbols. Where is PV_sv_undef suppose to be satisfied? Thanx Julian

Replies are listed 'Best First'.
Re^3: Perl embedding
by PodMaster (Abbot) on Feb 28, 2006 at 08:20 UTC
    Can anyone tell me where PV_sv_undef is suppose to be?
    There is no PV_sv_undef.
    The symbol PL_sv_undef is supposed to be somewhere in libperl.so (although not by that exact name). It wasn't available in 5.004050 or earlier (can be made available through Devel::PPPort to a certain extent). Its defined in various perl include files (perlapi.h, embedvar.h), you (ext/IO) get it by including perl.h/XSUB.h.

    Your problem is that whatever perl is trying to load '/usr/lib/perl5/5.8.7/i686-linux/auto/IO/IO.so' doesn't define PL_sv_undef.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.