Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl embedding

by PodMaster (Abbot)
on Feb 27, 2006 at 06:07 UTC ( [id://532967]=note: print w/replies, xml ) Need Help??


in reply to Perl embedding

I've seen that before :)

The perl trying to load IO.so is not (binary) compatible with the perl IO.so was compiled with (not the same perl).

  • DynaLoader and PL_sv_undef...
  • ld.so.1: perl: fatal: relocation error

    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.

  • Replies are listed 'Best First'.
    Re^2: Perl embedding
    by jlbprof (Initiate) on Feb 28, 2006 at 04:00 UTC
      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
        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.

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://532967]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (4)
    As of 2024-04-25 14:18 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found