Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Attempting to install the perl module GD 1.33. I installed the zlib libraries 1.1.3, libpng 1.0.10, and jpeg release 6b, gd 1.8.4 on a FreeBSD 3.5 machine.

Each individual component compiles and tests without error. I can get the GD perl module to compile. When I run the make test on GD, it fails with the following error:
t/GD................gd-png: fatal libpng error: Application must be r +ecompiled; version 1.0.6 was incompatible
My first thought was that I had the wrong png libraries, but I reinstalled the 1.0.10 libraries, and attempt a recompile on GD still with the same results.

Any pointers or suggestions?

[ 2001-04-26 - Moved to SOPW - ar0n ]

Replies are listed 'Best First'.
Re: GD Perl Module Test problems
by diarmuid (Beadle) on Apr 26, 2001 at 20:38 UTC
    Well I've never done this myself but if you compiled version 1.0.10 and are getting errors about version 1.0.6 then I'd say your Makefile is picking libpng up from somewhere else. I'm sure there are some inlude directories in the Makefile you could change to point to the the 1.0.10 version of libpng

    D

Re: GD Perl Module Test problems
by yakko (Friar) on Apr 26, 2001 at 22:53 UTC
    It looks like you need to recompile gd from the source, now that you have good png libs installed.

    --
    Me spell chucker work grate. Knead grandma chicken.