php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26459 configure: error: libjpeg.(a|so) not found.
Submitted: 2003-11-28 22:36 UTC Modified: 2003-11-29 03:18 UTC
From: gideon dot kimbrell at medcentercanada dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.4 OS: Linux RH 9 PLESK
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gideon dot kimbrell at medcentercanada dot com
New email:
PHP Version: OS:

 

 [2003-11-28 22:36 UTC] gideon dot kimbrell at medcentercanada dot com
Description:
------------
hello...

currently running php 4.2.2 and trying to install 4.3.4 for GD and MCRYPT reasons...

i first downloaded the 4.3.4 tarball and did:

./configure --prefix=/usr --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap --with-pdflib=shared --with-mcrypt

and i got the error:
configure: error: libjpeg.(a|so) not found.

i then searched google, and landed on the snapshots. i untarred the most recent snapshot and did this:

./configure --prefix=/usr --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap --with-pdflib=shared --with-mcrypt

and i got the error:
configure: error: libjpeg.(a|so) not found.

however... /usr/bin contains libjpeg.so.62 which I believe is all that it would require.

do i need additional libraries, or is this a configuration problem, or is it a bug?

thank you very much!

Reproduce code:
---------------
Configuring extensions
checking for OpenSSL support... no
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking for cyrus imap support... no
checking for xDBM support... yes
checking for gdbm_open in -lgdbm... yes
checking preferred dbm library... gdbm chosen
checking for gdbm.h... yes
checking whether to enable DBA... no
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... builtin
checking for INI File support... builtin
checking for FlatFile support... builtin
checking whether to enable DBA interface... yes
checking whether to enable dbase support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking for DOM support... no
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking for FriBidi support... no
checking whether to enable FTP support... yes
checking for GD support... yes
checking for the location of libjpeg... /usr/lib
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
[root@plesk php4-STABLE-200311290230]#


Expected result:
----------------
finish configure so i can compile.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-29 03:18 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Install the 'devel' rpms. Not PHP bug.

 [2004-06-25 06:31 UTC] cosas at minovela dot com
i've got the same problem

checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
configure: error: libpng.(a|so) not found.

linjpeg and devel are insalled:
[root@plain src]# ls /usr/lib | grep jpeg
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0

[root@plain php-4.3.7]# tail -f config.log
configure:29873: checking for fabsf
configure:29901: gcc -o conftest -g -O2  -L/usr/lib -ldb-4.1  -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -lz -ldb-4.1 -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm 1>&5
configure:29885: warning: conflicting types for built-in function `fabsf'
/usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libcurl.so, may conflict with libcom_err.so.2
configure:29873: checking for floorf
configure:29901: gcc -o conftest -g -O2  -L/usr/lib -ldb-4.1  -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -lz -ldb-4.1 -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libcurl.so, may conflict with libcom_err.so.2
configure:30033: checking for jpeg_read_header in -ljpeg
configure:30052: gcc -o conftest -g -O2  -L/usr/lib -ldb-4.1  -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -ljpeg  -lz -ldb-4.1 -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libcurl.so, may conflict with libcom_err.so.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 13:01:31 2024 UTC