#26459 [Com]: configure: error: libjpeg.(a|so) not found.
| From: | cosas at minovela dot com | Date: | Fri, 25 Jun 2004 04:32:00 +0000 |
| Subject: | #26459 [Com]: configure: error: libjpeg.(a|so) not found. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61343@lists.php.net to get a copy of this message | ||
ID: 26459
Comment by: cosas at minovela dot com
Reported By: gideon dot kimbrell at medcentercanada dot com
Status: Bogus
Bug Type: GD related
Operating System: Linux RH 9 PLESK
PHP Version: 4.3.4
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-11-29 03:18:59] 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.
------------------------------------------------------------------------
[2003-11-28 22:36:02] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26459&edit=1