K
katie.rennie
I've seen a similar topic previously, but I haven't managed to find a
working solution.
I'm trying to install GD.pm on a server running RedHat linux, perl
5.8.5
I've reinstalled libgd (version 2.0.33). I removed old copies of
libgd.so, libgd.so.2, libgd.so.2.0.0 and libgd.a first, and compiled
without any --prefix option, so everything was put in the default
place.
I've tried installing GD-2.32
It all runs fine through "perl Makefile.pl" and "make", but when I get
to "make test" (running with TEST_VERBOSE=1) I see the following
error:
**********************************************************************************************
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........1..12
Can't load './blib/arch/auto/GD/GD.so' for module GD: libgd.so.2:
cannot open shared object file: No such file or directory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line
230.
at t/GD.t line 14
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.
not ok 1
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/Polyline....1..1
# Running under perl version 5.008005 for linux
# Current time local: Fri Mar 17 10:03:46 2006
# Current time GMT: Fri Mar 17 10:03:46 2006
# Using Test.pm version 1.25
Can't load '/usr/lib/perl5/5.8.5/GD-2.32/blib/arch/auto/GD/GD.so' for
module GD: libgd.so.2: cannot open shared object file: No such file or
directory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line
230.
at /usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at
/usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at
/usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 12 23 191.67% 1-12
t/Polyline.t 255 65280 1 2 200.00% 1
Failed 2/2 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
**********************************************************************************************
The file /usr/lib/perl5/5.8.5/GD-2.32/blib/arch/auto/GD/GD.so does
exist, and is readable and executable by anyone.
Reading through the documentation, it looks like the only thing
suggested that I haven't tried is compiling and reinstalling perl from
the latest stable source code.
I'd be grateful for any other suggestions I can try before going to
that last resort. Thanks for reading.
working solution.
I'm trying to install GD.pm on a server running RedHat linux, perl
5.8.5
I've reinstalled libgd (version 2.0.33). I removed old copies of
libgd.so, libgd.so.2, libgd.so.2.0.0 and libgd.a first, and compiled
without any --prefix option, so everything was put in the default
place.
I've tried installing GD-2.32
It all runs fine through "perl Makefile.pl" and "make", but when I get
to "make test" (running with TEST_VERBOSE=1) I see the following
error:
**********************************************************************************************
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........1..12
Can't load './blib/arch/auto/GD/GD.so' for module GD: libgd.so.2:
cannot open shared object file: No such file or directory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line
230.
at t/GD.t line 14
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.
not ok 1
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/Polyline....1..1
# Running under perl version 5.008005 for linux
# Current time local: Fri Mar 17 10:03:46 2006
# Current time GMT: Fri Mar 17 10:03:46 2006
# Using Test.pm version 1.25
Can't load '/usr/lib/perl5/5.8.5/GD-2.32/blib/arch/auto/GD/GD.so' for
module GD: libgd.so.2: cannot open shared object file: No such file or
directory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line
230.
at /usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at
/usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at
/usr/lib/perl5/5.8.5/GD-2.32/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 12 23 191.67% 1-12
t/Polyline.t 255 65280 1 2 200.00% 1
Failed 2/2 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
**********************************************************************************************
The file /usr/lib/perl5/5.8.5/GD-2.32/blib/arch/auto/GD/GD.so does
exist, and is readable and executable by anyone.
Reading through the documentation, it looks like the only thing
suggested that I haven't tried is compiling and reinstalling perl from
the latest stable source code.
I'd be grateful for any other suggestions I can try before going to
that last resort. Thanks for reading.