Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Binary compatibility 5.8.0 -> 5.8.7
- Trond Hasle Amundsen
June 8, 2005, 10:40 pm
rate this thread
I'm having trouble making a perl 5.8.7 which is binary compatible with
our pre-installed modules for 5.8.0. I've included the libpath for the
old modules in @INC, so pure perl modules aren't a problem. However,
with binary modules (that is, they contain C code and have a .so file)
doesn't work. I get the famous error message:
Can't load '/local/lib/perl5/site_perl/5.8.0/auto/PDL/Core/Core.so' for module
PDL::Core: /local/lib/perl5/site_perl/5.8.0/auto/PDL/Core/Core.so: undefined
symbol: PL_sv_undef at /local/lib/perl5/5.8.7/DynaLoader.pm line 230.
at (eval 1) line 6
Compilation failed in require at (eval 1) line 6.
BEGIN failed--compilation aborted at (eval 1) line 6.
BEGIN failed--compilation aborted at -e line 1.
Problem is, the previous perl version is single-threaded and static
(i.e. is has a libperl.a instead of libperl.so), while I want to
compile the new version with threading support and with a shared lib.
I don't know if this is an issue at all, but here you have it.
Any suggestions? I'm stuck.
- » FAQ 7.18 What's the difference between deep and shallow binding?
- — Previous thread in » PERL Discussions