php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31871 Trying to compile, error: libjpeg.(a|so) not found.
Submitted: 2005-02-07 14:18 UTC Modified: 2005-02-07 15:57 UTC
From: randall_hoffman at comcast dot net Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.10 OS: Red Hat 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: randall_hoffman at comcast dot net
New email:
PHP Version: OS:

 

 [2005-02-07 14:18 UTC] randall_hoffman at comcast dot net
Description:
------------
I run the following:

cd /usr/local/src/php-4.3.10

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-ftp \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-mm=shared \
--enable-safe-mode \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--with-dom \
--with-gd \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-xml \
--with-zlib-dir=/usr/lib

The last four lines of the configure end with:

checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

I don't know what to do now.  Thanks.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-07 14:42 UTC] pajoye@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You need libjpeg-devel (same for all libs like png).

--Pierre
 [2005-02-07 15:51 UTC] randall_hoffman at comcast dot net
Where do I obtain the file libjpeg-devel ?  I am not sure which one to obtain and is it a RPM ?  Sorry if that is a simple question, I am just beginning.  Thanks.
 [2005-02-07 15:57 UTC] pajoye@php.net
With redhat 9, uses the "add/software..." menu entry, or whatever you use to install rpm on your system.

Please ask further questions somewhere else (ie redhat support). Only bugs can be discussed here.

--Pierre
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 22:00:02 2025 UTC