Click here to get back home

Building Perl module GD::Text on Solaris 10

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Building Perl module GD::Text on Solaris 10 Boris 08-03-2007
Posted by Boris on August 3, 2007, 3:37 pm
Please log in for more thread options


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

Posted by Martien verbruggen on August 3, 2007, 5:47 pm
Please log in for more thread options


On Fri, 03 Aug 2007 21:37:50 +0200,
> 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.
|

Similar ThreadsPosted
Building module Encode::Detect on solaris 10 platform February 21, 2008, 9:13 am
Problem building DBD::Oracle on 64 bit solaris April 13, 2005, 2:51 pm
Building Text::Iconv on Windows September 30, 2007, 9:58 am
Net::SSH:Perl on Solaris and passwd September 28, 2004, 11:24 pm
perl-gtk installation failing on Solaris March 20, 2007, 7:28 am
GD module on Solaris 9 September 3, 2004, 11:10 am
Looking for pre-built DBI/DBD:Oracle modules for Perl 5.8.4 on Solaris 10 platform May 6, 2008, 5:02 pm
Weird Module Installation Problem on Solaris 10 November 4, 2005, 8:36 am
Issues with Proc::ProcessTable module on Solaris 9 April 20, 2007, 8:02 am
searching a "text" in a word document using perl January 28, 2005, 3:39 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap