note 125421 deleted from image.installation by cmb
| From: | cmb@php.net | Date: | Thu, 08 Oct 2020 15:16:12 +0000 |
| Subject: | note 125421 deleted from image.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215552@lists.php.net to get a copy of this message | ||
Note Submitter: gonperes
----
If you are using and old Ubuntu version (15.04) and want to compile PHP 7.4 from source with GD and
JPEG support, you will probably get an error like this :
---------
checking for libjpeg... no
configure: error: Package requirements (libjpeg) were not met:
No package 'libjpeg' found
---------
No longer able to "apt-get" the libjpeg package to a more recent version, the only
solution was to:
-----
$> wget http://www.ijg.org/files/jpegsrc.v9c.tar.gz
$> tar xzf jpegsrc.v9c.tar.gz
$> cd jpeg-9c
$> ./configure | make | make install
-----
After this, I was able to run the configure script without errors and compile and install PHP 7.4
Hope this helps.