----- Original Message ----- 
From: "Ganesh Krishnan" <[email protected]>

>
> Can't load '......./PDL/Core/Core.so' for module PDL::Core:
> ......./perl_modules/PDL/i686-linux/auto/PDL/Core/Core.so: undefined 
> symbol:
> PL_sv_yes at 
> /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm
> line 230.
>
> at ......../perl_modules/PDL/i686-linux/PDL/Fit/LM.pm line 26
>

Looks like a broken perl to me.

What happens when you run the following script:

#######################
use warnings;

use Inline C => Config =>
    BUILD_NOISY => 1;

use Inline C => <<'EOC';

SV * foo() {
     return &PL_sv_yes;
}

EOC

print foo();
#######################

For me, it builds fine and then prints 1.

Btw, whether or not libperl.so should exist depends upon how perl was built. 
(It doesn't exist for most of my linux builds.)
I think the way to tell is to run 'perl -V:libperl'. If that reports 
'libperl.so', then that file should exist (in something like 
/usr/local/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/libperl.so). But if 
it reports 'libperl.a', then I don't think libperl.so should exist. (But I'm 
not an expert on linux.)

Probably best to send us the output of 'perl -V', which should tell us all 
we need to know about how your prl was built.

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to