I have solved the problem with PDL installation. It had to do with a
somewhat ridiculous situation on my machine with a 32-bit Perl installed on
a 64-bit architecture. While I did try to force it to build a 32-bit version
of the required object files (by using CCFLAGS=-m32), it still didn't
install properly. I just installed PDL on a 32-bit machine instead. Thanks a
lot for all your help.

Ganesh.

-----Original Message-----
From: Ganesh Krishnan [mailto:[email protected]] 
Sent: Thursday, August 27, 2009 3:39 PM
To: [email protected]
Subject: Re: [Perldl] Problems with compiling/installing PDL

........./PDL-2.4.4/blib/arch/auto/PDL/Core/Core.so does exist, which is why
I am perplexed. 
make test fails with the same error message as does 'perl -Mblib -e "use
PDL'. 

I don't know if this is relevant. But I am throwing it out there anyway. I
tried to use the PDL::LM module in one of my programs. It crashed with a
virtually identical message except that it said something about PL_sv_yes
being undefined. I did some research and found that libperl.so did not exist
on my machine. I am trying to download a 64-bit version, but don't seem to
be able to get it. Would this be related to my problem?

Thanks
Ganesh.

-----Original Message-----
From: Derek Lamb [mailto:[email protected]] 
Sent: Thursday, August 27, 2009 1:02 PM
To: Ganesh Krishnan
Cc: [email protected]
Subject: Re: [Perldl] Problems with compiling/installing PDL

Ganesh Krishnan wrote:
>
> --------If this is a duplicate please ignore. I wasn't sure if my 
> first message got through--------------
>
> I am having problems compiling PDL. I am installing to a non-standard 
> location and specified the PREFIX as ../bin/PDL and LIB as ../PDL. I 
> have perl 5.8.6 on a 64-bit machine running Linux. It fails with the 
> following error message:
>
> Appending installation info to ../PDL/i686-linux/perllocal.pod
>
> doc_site_install: Building PDL documentation database ...
>
> Can't load '........./PDL-2.4.4/blib/arch/auto/PDL/Core/Core.so' for 
> module PDL::Core: 
> ......./perl_modules/PDL-2.4.4/blib/arch/auto/PDL/Core/Core.so: cannot 
> open shared object file: No such file or directory at 
> /usr/local/lib/perl5/5.8.6/i686-linux/DynaLoader.pm line 230.
>
> at ........../perl_modules/PDL-2.4.4/blib/lib/PDL/Doc.pm line 35
>
> Compilation failed in require at 
> ......./perl_modules/PDL-2.4.4/blib/lib/PDL/Doc.pm line 35.
>
> BEGIN failed--compilation aborted at 
> ........./perl_modules/PDL-2.4.4/blib/lib/PDL/Doc.pm line 35.
>
> Compilation failed in require at Doc/scantree.pl line 1.
>
> BEGIN failed--compilation aborted at Doc/scantree.pl line 1.
>
> make: *** [doc_site_install] Error 255
>
> I tried using the module and it had problems finding the core.so file.
>
> 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
>
> where the ........ represents the directory tree above the subdirectory.
>
> Could anybody give me some pointers on how to solve this?
>
> Thanks
>
> Ganesh.
>
Does ........./PDL-2.4.4/blib/arch/auto/PDL/Core/Core.so exist? If not 
there might have been a problem when making. I'm assuming make test went 
OK too. In the PDL source directory, does 'perl -Mblib -e "use PDL" ' 
work? (assuming this is the first time you've installed PDL on this 
machine.) You'll probably eventually need to set your PERL5LIB 
environment variable, but I don't think that should be an issue now.

Derek


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


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

Reply via email to