Bug #17944: ./configuring with GD and jpeg/png

From: Date: Mon, 24 Jun 2002 12:49:57 +0000
Subject: Bug #17944: ./configuring with GD and jpeg/png
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11905@lists.php.net to get a copy of this message
From: potnoddle@hotmail.com Operating system: solaris 8 PHP version: 4.1.2 PHP Bug Type: GD related Bug description: ./configuring with GD and jpeg/png 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 bug report at http://bugs.php.net/?id=17944&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17944&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17944&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17944&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17944&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17944&r=support Expected behavior: http://bugs.php.net/fix.php?id=17944&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17944&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17944&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17944&r=globals

« previous php.bugs (#11905) next »