Re: [GD-DEVEL] building with libpng...
| From: | Mike Frysinger | Date: | Fri, 21 Jun 2013 01:00:50 +0000 |
| Subject: | Re: [GD-DEVEL] building with libpng... | ||
| References: | 1 2 3 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-723@lists.php.net to get a copy of this message | ||
On Thursday 20 June 2013 20:05:18 Chris Barker - NOAA Federal wrote:
> On Thu, Jun 20, 2013 at 3:46 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Thursday 20 June 2013 18:09:44 Chris Barker - NOAA Federal wrote:
> >> But gd's ./configure can't quite handle this:
> > attach your config.log file
>
> attached.
>
> I note in there:
>
> configure:14080: gcc -std=gnu99 -o conftest -arch i386
> -I/Users/chris.barker/HAZMAT/GNOME-dev/GNOME-GIT/third_party_lib/gd/static_
> libs/include/libpng16 -L/usr/X11/lib conftest.c -ljpeg -lz -lpng16 >&5
> ld: library not found for -lpng16
> collect2: ld returned 1 exit status
>
> so configure did know something was wrong here...
i'm guessing running your libpng-config with the --libs arg prints out -lpng16.
we probably should change that --libs to --ldflags.
we should add more logging though to the configure script so it shows what it's
using so users can line up with what they're trying.
-mike
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc