[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] gd library: libpng not properly included?
From: |
Natalie Tasman |
Subject: |
Re: [Mingw-cross-env-list] gd library: libpng not properly included? |
Date: |
Tue, 15 Jun 2010 17:13:20 -0700 |
That works. Thanks, Tony!
-Natalie
On Tue, Jun 15, 2010 at 6:49 AM, Tony Theodore <address@hidden> wrote:
> On 12 June 2010 06:47, Natalie Tasman <address@hidden> wrote:
>> I am finding that gd is being built without libpng support, so it seems.
>>
>> Symptom: when linking to my program, I get
>>
>> undefined reference to `_gdImagePngPtr'
>> collect2: ld returned 1 exit status
>>
>> (I'm on Mac OS X 10.6 64-bit with recent macports installed.)
>>
>> Looking at the gd configure and build log:
>>
>> from configure:
>> checking png.h usability... yes
>> checking png.h presence... yes
>> checking for png.h... yes
>> checking for png_create_read_struct in -lpng12... no
>> configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
>
> It seems to be looking for libpng12 specifically where libpng on it's
> own should work. Could you check if the attached patch works
> correctly? I'll see if I can remove the version specific checks if it
> does.
>
> Tony
>