Sometimes I see a similar dynamic loading error when installing the PGPLOT module. The help file in that module says
If 'make test' does not work try 'perl -Mblib test.pl'. Sometimes one can get funny dynamic loading problem. [The former sets PERL_DL_NONLAZY=1 which makes it fail on any unresolved symbol. Sometimes this is wrong.] If you go into the PDL::LinearAlgebra build directory and 'perl -Mblib t/*.t' do you get the same results? Derek John Comeau wrote: > > These errors didn't seem very serious, so I ran 'make install'. Then > I attempted to install PDL::LinearAlgebra and encountered the > following errors for 'make test': > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1.t .. Can't load > '/home/john/.cpan/build/PDL-LinearAlgebra-0.06-b9JBNt/blib/arch/auto/PDL/LinearAlgebra/Real/Real.so' > > for module PDL::LinearAlgebra::Real: > /home/john/.cpan/build/PDL-LinearAlgebra-0.06-b9JBNt/blib/arch/auto/PDL/LinearAlgebra/Real/Real.so: > > undefined symbol: dgebal_ at /usr/lib/perl/5.8/DynaLoader.pm line 225. > at > /home/john/.cpan/build/PDL-LinearAlgebra-0.06-b9JBNt/blib/lib/PDL/LinearAlgebra.pm > > line 10 > Compilation failed in require at > /home/john/.cpan/build/PDL-LinearAlgebra-0.06-b9JBNt/blib/lib/PDL/LinearAlgebra.pm > > line 10. > BEGIN failed--compilation aborted at > /home/john/.cpan/build/PDL-LinearAlgebra-0.06-b9JBNt/blib/lib/PDL/LinearAlgebra.pm > > line 10. > Compilation failed in require at t/1.t line 3. > BEGIN failed--compilation aborted at t/1.t line 3. > t/1.t .. Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > > Test Summary Report > ------------------- > t/1.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > Files=1, Tests=0, 4 wallclock secs ( 0.02 usr 0.02 sys + 0.92 cusr > 0.05 csys = 1.01 CPU) > Result: FAIL > Failed 1/1 test programs. 0/0 subtests failed. > make: *** [test_dynamic] Error 2 > > These errors look serious, so I didn't attempt 'make install'. > > Regards, > John > > On Sun, Jul 19, 2009 at 6:08 PM, Chris Marshall <[email protected] > <mailto:[email protected]>> wrote: > > > I didn't copy the whole mailing list on this. > > Probably better to cc the list (trimming make verbosity > is good then) since you can get more coverage and better > response time. It has the additional benefit of putting the > dialog in the record for people to search... > > > Test Summary Report > > ------------------- > > t/autoload.t (Wstat: 256 Tests: 3 Failed: 1) > > Failed test: 3 > > Non-zero exit status: 1 > > t/gsl_interp.t (Wstat: 65280 Tests: 10 Failed: 0) > > Non-zero exit status: 255 > > Parse errors: Bad plan. You planned 11 tests but ran 10. > > t/proj_transform.t (Wstat: 65280 Tests: 0 Failed: 0) > > Non-zero exit status: 255 > > Parse errors: Bad plan. You planned 20 tests but ran 0. > > Files=109, Tests=1195, 133 wallclock secs ( 0.60 usr 0.05 sys + > 38.07 cusr 2.01 csys = 40.73 CPU) > > Result: FAIL > >Failed 3/109 test programs. 1/1195 subtests failed. > > t/autoload.t: this is a false failure. You should be ok as is. > > t/gsl_interp.t: this seems to be related to pulling in the routine > from another PDL version on the same system. Try making sure all > the PDL-2.4.3 stuff is out of the shell PATH, and the @INC and > PERL5LIB and run the test again. If you don't use the GSL you > won't have a problem. > > t/proj_transform.t: this is usually because you are missing > libjpeg or have an incomplete or outdated NetPBM install. If you > don't use these functions, you should be good again. > > > SUMMARY: Your PDL-2.4.4 should be ok to use (with the above > caveats). You might wish to try out PDL-2.4.4_05 the next > iteration as some of these have fixes and there are additional > diagnostic outputs. > > Cheers, > Chris > > > > > -- > John R. Comeau, Tourmaline Systems 646.245.1646 voice > 646.417.5111 fax > Columbia MBA - Entrepreneurship & Quantitative Finance | Texas MSE - > Information & Systems Engineering | Kansas BSEE - Electrical > Engineering > > CONFIDENTIALITY NOTICE: The information contained in this email > message, including any attachments, is privileged and confidential. If > you are not the intended recipient, you are hereby notified that any > retention, dissemination, distribution, or copying of this > communication is strictly prohibited. Please reply to the sender that > you have received the message in error, then delete it. > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
