Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 1288
Status: resolved
Worked: 1.7 hours (100 min)
Priority: 0/
Queue: GD

People
Owner: LDS [...] cpan.org
Requestors: Bernhard.Schmalhofer [...] biomax.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.40
Fixed in: (no value)



Subject: undefined symbol: gdImageStringFT
Hi, I have just tried to install GD-1.4.0 on a Linux machine "SuSE Linux 7.1 (i386) - Kernel 2.4.18 (5)". I have applied the patch patch_gd.pl and then compiled and installed libgd 1.8.4. The created libgd.so looks OK: linux:/usr/local/lib > ldd libgd.so.4.0.0 libpng.so.2 => /usr/lib/libpng.so.2 (0x4003d000) libz.so.1 => /lib/libz.so.1 (0x40068000) libm.so.6 => /lib/libm.so.6 (0x40077000) libc.so.6 => /lib/libc.so.6 (0x40095000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) When installing GD-1.4.0 with the CPAN-module I answer all questions with 'n'. With the first test I get following error: Running make test PERL_DL_NONLAZY=1 /BioInformatics/soft/perl/bin/perl -Iblib/arch -Iblib/lib -I/BioInformatics/soft/perl-5.6.1/lib/5.6.1/i686-linux -I/BioInformatics/soft/perl-5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/GD....Can't load './blib/arch/auto/GD/GD.so' for module GD: undefined symbol: gdImageStringFT at /BioInformatics/soft/perl-5.6.1/lib/5.6.1/i686-linux/DynaLoader.pm line 206. gdImageStringFT is not in libgd.so as I had built the library without FreeType support. linux:/usr/local/lib > nm libgd.so.4.0.0 | grep gdImageString 000041e0 T gdImageString 00004320 T gdImageString16 00009120 T gdImageStringTTF 00004280 T gdImageStringUp 00004390 T gdImageStringUp16 I assume the GD.so has support for FreeType, even though I had said, that there is no FreeType support. I tried GD-1.39 and everything works fine there.