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

From: Date: Mon, 24 Jun 2002 18:07:29 +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-11953@lists.php.net to get a copy of this message
ID: 17944 Updated by: sniper@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: Is that libgcc_s.so.1 anywhere in your system? (try 'find / -name libgss_s.so.1') And was this with 4.2.1? Previous Comments: ------------------------------------------------------------------------ [2002-06-24 12:30:12] potnoddle@hotmail.com i've tryed the latest versions get more but only this httpd starting. Syntax error on line 236 of /etc/apache/httpd.conf: Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory /usr/apache/bin/apachectl start: httpd could not be started i can't find libgcc_s.so ??? ------------------------------------------------------------------------ [2002-06-24 10:16:19] sniper@php.net This should be fixed in PHP 4.2.1, so please try it first. ------------------------------------------------------------------------ [2002-06-24 08:59:10] sander@php.net 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) ------------------------------------------------------------------------ [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

« previous php.bugs (#11953) next »