note 95649 deleted from image.installation by cmb
| From: | cmb@php.net | Date: | Sun, 14 Aug 2016 10:26:54 +0000 |
| Subject: | note 95649 deleted from image.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206279@lists.php.net to get a copy of this message | ||
Note Submitter: Larry Kluger
----
On 64bit centos, needed to create links from lib64 to lib. Php seems to insist on looking in lib,
even with "with-jpeg-dir" config.
Eg
ln -s /usr/lib64/libjpeg.so.62.0.0 /usr/lib/libjpeg.so
ln -s /usr/lib64/libpng.so.3.10.0 /usr/lib/libpng.so
./configure \
--with-config-file-path=/etc \
--prefix=/usr \
--with-bz2 \
--enable-zip \
--enable-mbstring \
--with-apxs2=/usr/sbin/apxs \
--with-zlib-dir=/usr/include \
--with-libxml-dir=/usr/lib64 \
--with-mcrypt=/usr/lib64 \
--with-mysql \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-calendar