Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Problem executing GD module

by Joost (Canon)
on Aug 03, 2005 at 15:17 UTC ( #480514=note: print w/replies, xml ) Need Help??


in reply to Problem executing GD module

Did you compile the module yourself or installed a binary version? If you compiled it yourself, make sure you also run "make test" before installing.

See also this note from the Makefile.PL of the latest GD version:

NOTICE: This module requires libgd 2.0.25 or higher. it will NOT work with earlier versions. If you are getting compile or link errors, then please get and install a new version of libgd from www.boutell.com. Do NOT ask Lincoln for help until you try this.

Replies are listed 'Best First'.
Re^2: Problem executing GD module
by bar10der (Beadle) on Aug 03, 2005 at 15:26 UTC
    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'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://480514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-10-25 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?