Building Perl module GD::Text on Solaris 10

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm in the process of installing lots of Perl modules for Bugzilla 3 and  
ran into a problem with the Perl module GD::Text (the exact name of the  
module downloaded via CPAN is GDTextUtil-0.86). I downloaded and installed  
the GD Graphics Library before (using the package  
gd-2.0.33-sol10-sparc-local.gz from - thus the library is  
available. When I try to create the Makefile then (with "perl") I get this error message: perl: fatal: relocation error: file  
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/GD/ symbol  
gdImageStringFT: referenced symbol not found

Checking the library with "nm -p | grep gdImageStringFT" I get:

0000000000 U gdImageStringFT
0000000000 U gdImageStringFTEx

Indeed the referenced function seems to be undefined. Did anyone manage to  
build GD::Text on Solaris 10? My last resort would be to downgrade to GD  
1.x as the README of GD::Text states that "GD 2.* has not been tested yet".


Re: Building Perl module GD::Text on Solaris 10

On Fri, 03 Aug 2007 21:37:50 +0200,
Quoted text here. Click to load it

I use GD::Text on Solaris, but I must say that I compiled evrything

Note however, that GD::Text needs the GD perl module, which in turn
needs the gd library (libgd). I am not sure what the package is you
downloaded and installed, but if it's only the GD module, you might need
more work.

Also, to make sure that all this works, the GD module needs to be
compiled witht he same options as the libgd library, so it's best to
either compile both yourself, or get them both from a source that
maintains them with relation to each other, instead of from two
different sources that might be unrelated.

Martien Verbruggen      | We are born naked, wet and hungry. Then
                        | things get worse.

Site Timeline