GD.pm dynamic library problem with installation 
Author Message
 GD.pm dynamic library problem with installation

I'm trying to install the GD.pm module on my system running linux
(Redhat 6.1) and I can compile okay, but when I run 'make test' I get
the following output:

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e

t/*.t
t/GD................Can't load './blib/arch/auto/GD/GD.so' for module
GD: ./blib/arch/auto/GD/GD.so: undefined symbol: gdImageJpegPtr at
/usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.
 at t/GD.t line 11
Compilation failed in require at t/GD.t line 11.
BEGIN failed--compilation aborted at t/GD.t line 11.
t/GD................dubious                                                  
        Test returned status 255 (wstat 65280, 0xff00)
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          255 65280    10   10 100.00%  1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2

I have recompiled and reinstalled perl 5.6 from scratch after finding
comments on FAQs saying that Redhat's perl may have been compiled
incorrectly (though no one seemed to really know what was going on with
this problem), but I still get this message (what I've copied above is
the most recent output, *after* I recompiled perl).  I have gd-1.8.3,
and I applied the patch that came with GD.pm before compiling it to make
it handle dynamic libraries.  I also have libjpg and, I believe,
everything else I need.

Can anyone help me?  Is the problem with perl, with the gd library, or
with GD.pm?  Does anyone know how to fix this or have any ideas of what
I can try?  Thanks a lot.

Marco



Sun, 22 Dec 2002 03:00:00 GMT  
 GD.pm dynamic library problem with installation



Quote:
> I'm trying to install the GD.pm module on my system running linux
> (Redhat 6.1) and I can compile okay, but when I run 'make test' I get
> the following output:

> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e

> t/*.t
> t/GD................Can't load './blib/arch/auto/GD/GD.so' for module
> GD: ./blib/arch/auto/GD/GD.so: undefined symbol: gdImageJpegPtr at
> /usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.
>  at t/GD.t line 11
[...]
> I have recompiled and reinstalled perl 5.6 from scratch after finding
> comments on FAQs saying that Redhat's perl may have been compiled
> incorrectly (though no one seemed to really know what was going on with
> this problem), but I still get this message (what I've copied above is
> the most recent output, *after* I recompiled perl).  I have gd-1.8.3,
> and I applied the patch that came with GD.pm before compiling it to make
> it handle dynamic libraries.  I also have libjpg and, I believe,
> everything else I need.

When you compiled gd-1.8.3, did you configure it as
    ./configure --enable-jpeg
and also --enable-freetype and --enable-xpm
(if you want those)? As well, did this configure
find the jpeg library OK? Also, I assume that the
Makefile.PL for the perl GD module was edited
if your jpeg and gd libraries were placed in different
locations and/or were named something other
than the defaults?

best regards,
randy kobes



Sun, 22 Dec 2002 03:00:00 GMT  
 GD.pm dynamic library problem with installation

Quote:



> > I'm trying to install the GD.pm module on my system running linux
> > (Redhat 6.1) and I can compile okay, but when I run 'make test' I get
> > the following output:

> > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> > -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e

> > t/*.t
> > t/GD................Can't load './blib/arch/auto/GD/GD.so' for module
> > GD: ./blib/arch/auto/GD/GD.so: undefined symbol: gdImageJpegPtr at
> > /usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.
> >  at t/GD.t line 11
> [...]
> > I have recompiled and reinstalled perl 5.6 from scratch after finding
> > comments on FAQs saying that Redhat's perl may have been compiled
> > incorrectly (though no one seemed to really know what was going on with
> > this problem), but I still get this message (what I've copied above is
> > the most recent output, *after* I recompiled perl).  I have gd-1.8.3,
> > and I applied the patch that came with GD.pm before compiling it to make
> > it handle dynamic libraries.  I also have libjpg and, I believe,
> > everything else I need.

> When you compiled  gd-1.8.3, did you configure it as
>     ./configure --enable-jpeg
> and also --enable-freetype and --enable-xpm
> (if you want those)? As well, did this configure
> find the jpeg library OK? Also, I assume that the
> Makefile.PL for the perl GD module was edited
> if your jpeg and gd libraries were placed in different
> locations and/or were named something other
> than the defaults?

> best regards,
> randy kobes

I have almost exactly the same problem as Marco. I am running on SGI
IRIX 6.5.
I have also rebuilt Perl 5.6 from scratch, with the newest SGI
compilers.
I also have gd-1.8.3, and have applied the patch for dynamic libraries.
When I compiled gd-1.8.3 I used ./configure --enable-jpeg and it found
the
jpeg, png and zlib libaries just fine. My libraries are in a different
place,
but I edited Makefile.PL to reflect this. the GD modules builds just
fine, but
make test fails - for me it fails looking for something from the png
library.
My errors are:

PERL_DL_NONLAZY=1 /apps/gnu/irix6/bin/perl -Iblib/arch -Iblib/lib
-I/apps/gnu/lib/perl5/5.6.0/IP32-irix -I/apps/gnu/lib/perl5/5.6.0 -e

t/*.t
t/GD................Can't load './blib/arch/auto/GD/GD.so' for module
GD: 480877:/apps/gnu/irix6/bin/perl: rld: Fatal Error: unresolvable
symbol in /apps/gnu/irix6/lib/libgd.so: png_set_tRNS at
/apps/gnu/lib/perl5/5.6.0/IP32-irix/DynaLoader.pm line 200.
 at t/GD.t line 11

Any help would be appreciated,
Regards, Sandra.
--

Sandra M.McLaughlin
AstraZeneca, Macclesfield, UK

Tel: +44 1625 51-7307   Fax: +44 1625 51-7692



Mon, 23 Dec 2002 03:00:00 GMT  
 GD.pm dynamic library problem with installation
I did compile with jpeg enabled (and the others), and it seems the
libraries were found alright.  I don't get any errors in the build--only
when I run the test.  I'm really at a loss, and if anyone has dealt with
a similar problem before I'd appreciate some help.  Thanks!

Marco

P.S.  I didn't mention it in the original message, but I am installing
GD.pm version 1.29, the latest version.

Quote:



> > I'm trying to install the GD.pm module on my system running linux
> > (Redhat 6.1) and I can compile okay, but when I run 'make test' I get
> > the following output:

> > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> > -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e

> > t/*.t
> > t/GD................Can't load './blib/arch/auto/GD/GD.so' for module
> > GD: ./blib/arch/auto/GD/GD.so: undefined symbol: gdImageJpegPtr at
> > /usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.
> >  at t/GD.t line 11
> [...]
> > I have recompiled and reinstalled perl 5.6 from scratch after finding
> > comments on FAQs saying that Redhat's perl may have been compiled
> > incorrectly (though no one seemed to really know what was going on with
> > this problem), but I still get this message (what I've copied above is
> > the most recent output, *after* I recompiled perl).  I have gd-1.8.3,
> > and I applied the patch that came with GD.pm before compiling it to make
> > it handle dynamic libraries.  I also have libjpg and, I believe,
> > everything else I need.

> When you compiled gd-1.8.3, did you configure it as
>     ./configure --enable-jpeg
> and also --enable-freetype and --enable-xpm
> (if you want those)? As well, did this configure
> find the jpeg library OK? Also, I assume that the
> Makefile.PL for the perl GD module was edited
> if your jpeg and gd libraries were placed in different
> locations and/or were named something other
> than the defaults?

> best regards,
> randy kobes



Fri, 27 Dec 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. GD.pm: dynamic link problem

2. GD.pm installation problems

3. GD.pm Installation Problems on Linux

4. gd.pm installation problem

5. GD.pm installation problem on WinNT 4.0

6. GD.pm dynamic loading

7. GD.pm installation

8. GD.pm and AIX installation

9. gd.pm library question

10. GD.pm Installation Woes

11. Problems Making GD.pm (GD-1.22)

12. Gd.pm - Need Installation Help

 

 
Powered by phpBB® Forum Software