[libGD] #225 [Task opened] configure.ac should be using pkg-config to check for libpng
| From: | gd-bugs at lists dot php dot net | Date: | Fri, 21 May 2010 15:36:16 +0000 |
| Subject: | [libGD] #225 [Task opened] configure.ac should be using pkg-config to check for libpng | ||
| Groups: | php.gd.bugs | ||
| Request: | Send a blank email to php-gd-bugs+get-776@lists.php.net to get a copy of this message | ||
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Samuli Suominen (ssuominen)
Attached to Project - libGD
Summary - configure.ac should be using pkg-config to check for libpng
Task Type - Bug Report
Category - General
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 2.0.35
Due in Version - Undecided
Due Date - Undecided
Details - configure.ac should be using pkg-config to check for libpng, because with libpng 1.4.2 you
get libpng14-config and libpng14.so instead of libpng12-config and libpng12.so.
and then when libpng 1.6 will be released in a future, it will break again.
it would be best to switch to using pkg-config to check for libpng presence now, to fix the issues
now and for the future.
consider this,
Install libpng-1.2.43, have libpng12-config (this is installed for backward's compability for
certain non-libgd related issues)
install libpng-1.4.2, have libpng14-config, and libpng-config --libs that will return -lpng14
then ./configure, and it will find libpng12-config and prefer it over the newer libpng14-config and
libpng-config.
you end up with libgd linked against old libpng, or not linked to libpng at all.
i'd guess using libpng.pc (the generic pkg-config file name) would be the best here.
More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=225
You are receiving this message because you have requested it from the Flyspray bugtracking system.
If you did not expect this message or don't want to receive mails in future, you can change
your notification settings at the URL shown above.