undefined symbol: gdImageCreateFromGif



Hi.

Trying to install GD Perl interfaz (by Lincoln D. Stein) on Linux.

I installed libgd on '/usr/local/gd'. I think it's well installed:

[]# /usr/local/gd/bin/gdlib-config --features
GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON

[]# /usr/local/gd/bin/gdlib-config --version
2.0.34

I donwloaded the very last version of GD-Perl (v2.35) from 'http://
search.cpan.org/dist/GD/' and tried to install it:

[]# perl Makefile.PL
Where is libgd installed? [/usr/local/gd]
Build JPEG support? [y]
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y]
Build support for animated GIFs? [y] n
Build XPM support? [y] n

[]# make
it looks fine

[]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ./
blib/arch/auto/GD/GD.so: undefined symbol: gdFontGetGiant at /usr/lib/
perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
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.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 153) line 1, near
"'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/Polyline....Can't load '/root/install/GD-2.35/blib/arch/auto/GD/
GD.so' for module GD: /root/install/GD-2.35/blib/arch/auto/GD/GD.so:
undefined symbol: gdFontGetGiant at /usr/lib/perl5/5.8.3/i386-linux-
thread-multi/DynaLoader.pm line 229.
at /root/install/GD-2.35/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at /root/install/GD-2.35/blib/lib/GD/
Polyline.pm line 45.
BEGIN failed--compilation aborted at /root/install/GD-2.35/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 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

[]# make install
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/GD/
Image.pm
Writing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/
GD/.packlist
Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-
multi/perllocal.pod





I'm trying to execute this very simple code:
-------
#!/usr/bin/perl

use GD;^M
$srcimage = GD::Image->newFromGif("mountain.gif");
----------

and got this error code:
------------
/usr/bin/perl: error while loading shared libraries: /usr/lib/perl5/
site_perl/5.8.3/i386-linux-thread-multi/auto/GD/GD.so: undefined
symbol: gdImageCreateFromGif
-------------

Any suggestion? Thank you very much.

.



Relevant Pages

  • Re: MacSpeech Dictate Amazon reviews - comments?
    ... license is to the hardware and not to the user. ... install software on a desktop and a laptop. ... Redmond cease to support XP in an effort to force me to spend money on ... You will find this folder inside your document folder. ...
    (comp.sys.mac.apps)
  • RE: I cant run the routing and remote access wizard
    ... A suggestion would be to contact Microsoft Product Support Services via ... Microsoft CSS Online Newsgroup Support ... Some other updates fail to install eg kb ... |> Tools to Maintenance, change Intranet component to Remove, and then ...
    (microsoft.public.windows.server.sbs)
  • Re: network slows down after SP2 install
    ... Logitech support could not correct it and suggested ... Locate the "Microsoft network server: ... Microsoft CSS Online Newsgroup Support ... and SP2 failed to install on the other one. ...
    (microsoft.public.windows.server.sbs)
  • Re: [SLE] 9.1 > 9.2 question
    ... Now goto to the KDE Menu Editor and try to fix it. ... It would behove a distro to support it. ... >cards that you can actually walk in a retail store and by. ... Did you install the kde updates? ...
    (SuSE)
  • Re: [SLE] SuSE 9.2 politics and installation questions
    ... > been implemented on SuSE distribution after the merge with Novell. ... personal support, then your best choice may be SLES 9, but if you don't ... some packages missing from the CDs. ... has a DVD drive to the server to do a network install to your desires. ...
    (SuSE)