| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2002-06-24 08:59 UTC] sander@php.net
  [2002-06-24 10:16 UTC] sniper@php.net
  [2002-06-24 12:30 UTC] potnoddle at hotmail dot com
  [2002-06-24 14:07 UTC] sniper@php.net
  [2002-06-25 04:25 UTC] potnoddle at hotmail dot com
  [2002-06-25 11:38 UTC] sniper@php.net
  [2002-06-26 05:19 UTC] potnoddle at hotmail dot com
  [2002-06-26 18:35 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 00:00:01 2025 UTC | 
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; }