Building Perl module GD::Text on Solaris 10

Building Perl module GD::Text on Solaris 10

am 03.08.2007 21:37:50 von Boris

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 sunfreeware.com) - thus the library is
available. When I try to create the Makefile then (with "perl
Makefile.pl") I get this error message:

ld.so.1: perl: fatal: relocation error: file
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/GD/GD.so: symbol
gdImageStringFT: referenced symbol not found

Checking the library with "nm -p GD.so | 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".

Boris

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

am 03.08.2007 23:47:17 von Martien Verbruggen

On Fri, 03 Aug 2007 21:37:50 +0200,
Boris wrote:
> 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 sunfreeware.com) - thus the
> library is available. When I try to create the Makefile then (with
> "perl Makefile.pl") I get this error message:

> 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".

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

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
--
|
Martien Verbruggen | We are born naked, wet and hungry. Then
| things get worse.
|