#28672 [Com]: error: Problem with libjpeg.(a|so)
| From: | matarunk at yahoo dot com | Date: | Tue, 24 Aug 2004 21:55:21 +0000 |
| Subject: | #28672 [Com]: error: Problem with libjpeg.(a|so) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65193@lists.php.net to get a copy of this message | ||
ID: 28672
Comment by: matarunk at yahoo dot com
Reported By: c dot meisinger at livingliquid dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: RedHat 7.3
PHP Version: 4.3.7
New Comment:
Upgrade libxslt and libxml packages (libxslt compiled against libxml
Version) to the latest versions.
This will solve your problem.
Cool:)
Previous Comments:
------------------------------------------------------------------------
[2004-07-08 20:15:07] pantelis at up2u dot gr
I had the same problem.. config fails with:
"configure: error: libpng.(a|so) not found."
i have defined: "--with-jpeg-dir=/usr/lib"
and in the /usr/lib directory i have these files:
libjpeg.so.62
libjpeg.so.62.0.0
----
Any suggestions?
My system is RedHat Enterprise Server.
------------------------------------------------------------------------
[2004-06-07 18:07:35] c dot meisinger at livingliquid dot com
strange... if i remove --with-jpeg-dir, it works
and why does jpeg check for openssl???
if i remove --with-openssl i still get this error.
openssl installation is ok too.
btw. it WORKED with php4.3.6
------------------------------------------------------------------------
[2004-06-07 17:05:21] iliaa@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.
The problems appears to be a broken libssl that is missing
symbols for HMAC_cleanup.
/usr/local/lib/libssl.a(t1_enc.o): In function
`tls1_P_hash':
t1_enc.o(.text+0x15e): undefined reference to
`HMAC_cleanup'
t1_enc.o(.text+0x16c): undefined reference to
`HMAC_cleanup'
Because -lssl is being used the test compiled against it
fails.
------------------------------------------------------------------------
[2004-06-07 16:54:48] c dot meisinger at livingliquid dot com
configure:29567: checking for GD support
configure:29614: checking for the location of libjpeg
configure:29641: checking for the location of libpng
configure:29694: checking for the location of libXpm
configure:29719: checking for FreeType 1.x support
configure:29744: checking for FreeType 2
configure:29769: checking for T1lib support
configure:29794: checking whether to enable truetype string function in
GD
configure:29819: checking whether to enable JIS-mapped Japanese font
support in GD
configure:29873: checking for fabsf
configure:29901: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/ssl/lib
-L/usr/local/ssl/lib -Wl,-rpath,/usr/local/curl/lib
-L/usr/local/curl/lib conftest.c -lcurl -lbz2 -lz -lssl -
lcrypto -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz 1>&5
configure:29885: warning: conflicting types for built-in function
`fabsf'
configure:29873: checking for floorf
configure:29901: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/ssl/lib
-L/usr/local/ssl/lib -Wl,-rpath,/usr/local/curl/lib
-L/usr/local/curl/lib conftest.c -lcurl -lbz2 -lz -lssl -
lcrypto -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz 1>&5
configure:30033: checking for jpeg_read_header in -ljpeg
configure:30052: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib
-Wl,-rpath,/usr/local/curl/lib -L/usr/local/c
url/lib conftest.c -ljpeg -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm
-ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz 1>&5
/usr/local/lib/libssl.a(t1_enc.o): In function `tls1_P_hash':
t1_enc.o(.text+0x15e): undefined reference to `HMAC_cleanup'
t1_enc.o(.text+0x16c): undefined reference to `HMAC_cleanup'
collect2: ld returned 1 exit status
configure: failed program was:
#line 30041 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_read_header();
int main() {
jpeg_read_header()
; return 0; }
------------------------------------------------------------------------
[2004-06-07 15:55:38] iliaa@php.net
Look inside the config.log file was the failure reason.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28672
--
Edit this bug report at http://bugs.php.net/?id=28672&edit=1