B
bill
I'm doing a re-installation of Perl 5.8.2-2, because the currently
installed version has threads enabled, which I don't want. When
I do make test, 2 tests fail. Not surprisingly, these tests also
fail when I run them individually using:
bash-2.05b$ LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness <test_file>
The first failing test (run/fresh_perl.t) fails with the error:
/home/knight/build/perl-5.8.2/perl: relocation error: /usr/lib/perl/5.8.2/auto/NDBM_File/NDBM_File.so: undefined symbol: Perl_Gthr_key_pt
which suggests that the perl in the build directory is somehow
using library files from the site installation. This makes no
sense to me. How do I fix it? (To make matters worse, the build
being tested does not include a file NDBM_File.so., so I can't
redirect ./perl to use it.) (BTW, it looks like this error has
something to do with the fact that the site perl has threads enabled,
whereas the one I'm building doesn't).
The second failing test (../lib/ExtUtils/t/Embed.t) fails with
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
Again, another library related failure, but here I'm clueless as
to what may be going on.
I'm sure these tests are not failing for substantial reasons, but
I want to make sure the run properly once these reasons are removed.
What must I do to get these tests to go?
Thanks.
bill
installed version has threads enabled, which I don't want. When
I do make test, 2 tests fail. Not surprisingly, these tests also
fail when I run them individually using:
bash-2.05b$ LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness <test_file>
The first failing test (run/fresh_perl.t) fails with the error:
/home/knight/build/perl-5.8.2/perl: relocation error: /usr/lib/perl/5.8.2/auto/NDBM_File/NDBM_File.so: undefined symbol: Perl_Gthr_key_pt
which suggests that the perl in the build directory is somehow
using library files from the site installation. This makes no
sense to me. How do I fix it? (To make matters worse, the build
being tested does not include a file NDBM_File.so., so I can't
redirect ./perl to use it.) (BTW, it looks like this error has
something to do with the fact that the site perl has threads enabled,
whereas the one I'm building doesn't).
The second failing test (../lib/ExtUtils/t/Embed.t) fails with
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
Again, another library related failure, but here I'm clueless as
to what may be going on.
I'm sure these tests are not failing for substantial reasons, but
I want to make sure the run properly once these reasons are removed.
What must I do to get these tests to go?
Thanks.
bill