Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing GD-2.30: Can't load './blib/arch/auto/GD/GD.so'

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi.

Using Perl v5.8.5 on Fedora Core 2, I'm not able to install
GD-2.30:

----------
[root@pc GD-2.30]# 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: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
-------------

However, 'GD.so' does exist:
/home/john/src/GD-2.30/blib/arch/auto/GD/GD.so

I've got 'libgd' installed:
-------
[root@pc GD-2.30]# whereis libgd
libgd: /usr/lib/libgd.so /usr/lib/libgd.la /usr/lib/libgd.a
-------

and I get the same error if I try:
----
[]# perl Makefile.PL -lib_gd_path=/usr/lib/libgd.so
----

Any suggestion? Thx.
 
This is from the README file in the GD.tar
Take a look at the part marked with red.
a. Perl 5.6.0 or higher:

b. The gd graphics library:

c. The PNG graphics library:

d. The zlib compression library:

(OPTIONAL)

e. The FreeType font rendering library for TrueType fonts:

f. The JPEG library, version 6b or later:
ftp://ftp.uu.net/graphics/jpeg/

g. The XPM library, a standard part of modern X Windows
distributions. If you don't have a modern
version of X, don't try to get XPM working.

If this module fails to compile and link, you are probably using an
older version of libgd. Symptoms of this problem include errors about
functions not being recognized in the gd.h header file, and [red]undefined
symbols from the linker.
[/red] If you are having this type of error, please
REMOVE all versions of libgd, gd.h from your system and reinstall
libgd 2.0.28 or higher. Do not contact Lincoln for help until you
have done this.


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top