Hello again,
I finally got this to work, thanks mostly to the information I found here:
I created symlinks for the libjpeg files under /usr/lib and also ran 'make clean' prior to 'make'. I'm not exactly sure which one was the missing trick, but I then compiled PHP again with '--with-jpeg-dir=/usr' and now JPEG support works.
- Dave
On Fri, Jan 3, 2014 at 2:35 PM, David Parker <dparker@xxxxxxxxx> wrote:
Hello,I am attempting to compile PHP 5.5.4 with GD (bundled) and JPEG support, but so far I have not had any luck getting JPEG support to work. This is on Debian 7.2 (Wheezy) with libjpeg8 and libjpeg8-dev already installed via apt-get, and the libjpeg libraries are under /usr/lib/x86_64-linux-gnu.I've tried the following options:--with-gd --with-jpeg-dir=/usr/lib/x86_64-linux-gnu--with-gd --with-jpeg-dir=/usr/lib--with-gd --with-jpeg-dir=/usrBut no matter what I do, JPEG support does not work, and phpinfo shows the following for GD:GD Support enabledGD Version bundled (2.1.0 compatible)GIF Read Support enabledGIF Create Support enabledPNG Support enabledlibPNG Version 1.2.49WBMP Support enabledXBM Support enabledI should note that 'configure' reports no errors regarding GD or libjpeg, and the configuration and compile process goes smoothly. Also, PNG support works perfectly every time, without specifying anything for it at compile time, and libpng is installed from native packages same as libjpeg.
I'm starting to suspect that I've missed something simple and obvious, but I really can't figure this out. Can anyone shed some light on what I might be doing wrong?Thanks!Dave--Dave ParkerSystems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177
Dave Parker
Systems AdministratorUtica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177
- References:
- Compiling PHP with GD and JPEG support
- From: David Parker
- Compiling PHP with GD and JPEG support
- Prev by Date: Compiling PHP with GD and JPEG support
- Next by Date: Help for installation on aix 7.1
- Previous by thread: Compiling PHP with GD and JPEG support
- Next by thread: Help for installation on aix 7.1
- Index(es):