Perl Module GD.pm on Solaris 7

From: Unix Learner (solaris_sky@yahoo.com)
Date: Tue Sep 10 2002 - 17:12:21 EDT


Hi Gurus!
Here is what i have

OS: Sol 2.7
Perl Version: 5.005
gd (www.boutell.com/gd): 1.8.4
libpng : 1.2.4
zlib (latest)
jpeg-0.6b (latest)

All of them compiled using the same gcc and made
double sure that i have explicitly mentioned the LIBS
and INC and all the other usual stuff right.

When i downloaded the module GD.pm and try to compile
by following all the prereqs mentioned in the readme,
i still end up with the following when doing a "make
test".

PERL_DL_NONLAZY=1 /usr/misc/bin/perl -Iblib/arch
-Iblib/lib -I/usr/misc/perl5.005_002/lib/sun4-solaris
-I/usr/misc/perl5.005_002/lib -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: ld.so.1:
/usr/misc/bin/perl: fatal: relocation error: file
./blib/arch/auto/GD/GD.so: symbol SetCPerlObj:
referenced symbol not found at
/usr/misc/perl5.005_002/lib/sun4-solaris/DynaLoader.pm
line 168.

 at t/GD.t line 11
BEGIN failed--compilation aborted at t/GD.t line 11.
dubious
        Test returned status 2 (wstat 512, 0x200)
Bareword found where operator expected at
/usr/misc/perl5.005_002/lib/site_perl/sun4-solaris/sys/feature_tests.ph
line 20, near """invalid"
        (Missing operator before invalid?)
Bareword found where operator expected at
/usr/misc/perl5.005_002/lib/site_perl/sun4-solaris/sys/feature_tests.ph
line 20, near "invalid _FILE_OFFSET_BITS"
        (Do you need to predeclare invalid?)
String found where operator expected at
/usr/misc/perl5.005_002/lib/site_perl/sun4-solaris/sys/feature_tests.ph
line 20, near "specified"""
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of
failed
-------------------------------------------------------------------------------
t/GD.t 2 512 10 10 100.00% 1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests
failed, 0.00% okay.

 readme of GD.pm tells us that there is an exact known
problem with GD-1.33 with some versions of Linux and
the only remedy is to build and compile perl from the
scratch with all the modules (that were). I have
exhaustively searched all the newsgroups and google
only to find the pblm and not the solution. Has anyone
out there ever run into a same pblm..? if so please
guide me out of this, as compiling perl from scratch
in a network of our magnitude needs downtime (:-(..

Is there an extra libs options that we need to specify
for make..(like we do for apache..ssh and other
apps??)..

Thanks Much,
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:55 EDT