http://www.perlmonks.org?node_id=480519


in reply to Re: Problem executing GD module
in thread Problem executing GD module

Yes, I did install GD.pm myself

Also I did install libgd 2.0.33 under default location ie. /usr/local/lib

However when I run make test I get following error

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/perl5/5. +6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/lib -e 'use Test::Harne +ss qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ld +.so.1: /usr/bin/perl: fatal: relocation error: file ./blib/arch/auto/ +GD/GD.so: symbol gdImageCreateFromPng: referenced symbol not found at + /usr/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206. Compilation failed in require at t/GD.t line 13. BEGIN failed--compilation aborted at t/GD.t line 13. t/GD..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/Polyline....Can't load 'blib/arch/auto/GD/GD.so' for module GD: ld.s +o.1: /usr/bin/perl: fatal: relocation error: file blib/arch/auto/GD/G +D.so: symbol gdImageCreateFromPng: referenced symbol not found at /us +r/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206. Compilation failed in require at blib/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at 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. t/Polyline....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 10 20 200.00% 1-10 t/Polyline.t 255 65280 1 2 200.00% 1 Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay +. *** Error code 2 make: Fatal error: Command failed for target `test_dynamic'