FTBFS due to libpng (and lesser libjpeg)
Bug #811273 reported by
Michael Shadle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
As described here:
http://
There is no proper fix yet for libpng - just manually symlinking, which is bad.
For libjpeg, I was able to use the "libjpeg8-dev" package and that resolved it.
I believe this is a multiarch issue, and I am not sure if Ubuntu can provide a fix (perhaps drop a symlink in the right places through libpng-dev?) or push/suggest the right way for PHP to detect the library location.
To post a comment you must log in.
It might also be fixed by the same approach used here: /bugs.launchpad .net/ubuntu/ +source/ php5/+bug/ 739977
https:/
Working configure string (for PHP 5.3.6, but was the same since PHP 5.3.3)
./configure \ inline- optimization \ sqlite- utf8 \ mysql=mysqlnd \ mysqli= mysqlnd \ pdo-mysql= mysqlnd \ soap=shared \ pcntl=shared \ gd-native- ttf \
--enable-fpm \
--enable-cli \
--enable-
--disable-rpath \
--disable-ipv6 \
--enable-mbstring \
--enable-mbregex \
--enable-
--with-gettext \
--enable-intl \
--with-
--with-
--with-
--with-curl \
--with-zlib \
--with-freetype-dir \
--enable-shmop \
--with-xsl=shared \
--with-mssql=shared \
--enable-
--enable-sockets \
--enable-
--with-mcrypt \
--with-bz2 \
--with-tidy \
--with-pcre-dir \
--with-openssl \
--with-pear \
--with-gmp \
--with-jpeg-dir \
--enable-
--enable-exif
Either of these won't work due to PHP trying to locate libpng.so.
--with-gd
--with-png-dir