Bug #17944 Updated: ./configuring with GD and jpeg/png
| From: | sander@php.net | Date: | Mon, 24 Jun 2002 12:59:10 +0000 |
| Subject: | Bug #17944 Updated: ./configuring with GD and jpeg/png | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11906@lists.php.net to get a copy of this message | ||
ID: 17944
Updated by: sander@php.net
Reported By: potnoddle@hotmail.com
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: solaris 8
PHP Version: 4.1.2
New Comment:
It seems your libjpeg is broken. Reinstall it. Also, try the latest
version of PHP, I think lots has been changed since 4.1.x (even better:
try a CVS version from http://snaps.php.net)
Previous Comments:
------------------------------------------------------------------------
[2002-06-24 08:49:56] potnoddle@hotmail.com
i'm trying to bult php as a so module with GD to work on a solaris
box.
using this
"CC=Gcc ./configure --prefix=/usr/local/php
--with-oci8=/usr/home/oracle/product/8.1.7/
--with-apxs=/usr/apache/bin/apxs --with-gd=/us
r/local/ --with-pear=/usr/local/pear --without-sapi
--with-jpeg-dir=/usr/local"
i get this
"configure: error: Problem with libjpeg.(a|so). Please check config.log
for more information."
and config.log
says's this
configure:19561: checking for the location of libjpeg
configure:19610: checking for jpeg_read_header in -ljpeg
configure:19631: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-DEAPI -DMOD_PERL -DUSE_EXPAT -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 conftest.c -ljpeg
-L/usr/local/lib
-lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket
-lsocket -lgcc -lcrypt 1>&5
ld: warning: file /usr/local/lib/libjpeg.a(jdapimin.o): wrong ELF
class: ELFCLASS64
Undefined first referenced
symbol in file
jpeg_read_header /var/tmp/ccWyMCNT.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 19620 "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; }
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17944&edit=1