Thanks for sharing!
mark<-|->kram
>>> xampp <[EMAIL PROTECTED]> 14-Feb-06 05:19:31 AM >>> Answering my own problem - may help someone else
More digging around found that this is due to a mysql-5.0.18 bug http://bugs.mysql.com/bug.php?id=16520 Regards xampp wrote: > Having problems compiling php-5.1.2 from source on Solaris 9 (Sparc) > platform - this is also reproducible with php-5.1.1. > > php-4.4.2 compiles and builds correctly with similar configure > options as shown below. > > It seems to be a problem with compiling in openssl support > > Any help much appreciated Thanks > > #! /bin/sh # CFLAGS='-O2 /usr/local/openssl-0.9.7i -DEAPI' \ > './configure' \ '--prefix=/usr/local/apache2/php5' \ > '--libdir=/usr/local/apache2/php5/lib' \ > '--with-config-file-path=/usr/local/apache2/php5' \ > '--with-config-file-scan-path=/usr/local/apache2/php5' \ > '--with-pear=/usr/local/apache2/php5/lib' \ '--with-gettext' \ > '--with-apxs2=/usr/local/apache2/bin/apxs' \ > '--with-db4=/usr/local/BerkeleyDB.4.1' \ > '--with-openssl=/usr/local/openssl' \ > '--with-imap=/usr/local/src/imap-2004g' \ > '--with-imap-ssl=/usr/local/openssl' \ '--enable-ftp' \ > '--with-dom=/usr/local' \ '--enable-xml' \ '--with-xmlrpc-xml' \ > '--with-zlib' \ '--with-mysql=/u3/mysql' \ '--enable-mime-magic' \ > "$@" > > > <snip> lots of data removed -lmysqlclient -lssl -lcrypto -lcrypt > -lpam -lintl -lssl -lcrypto -ldb-4.1 -ldb-4.1 -lz -lssl -lcrypto > -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -lm -lsocket -lnsl > -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 > -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm > -lsocket -lnsl -lcrypt -o libphp5.la Text relocation remains > referenced against symbol offset in file > <unknown> 0x2b2c > /usr/local/src/pkb/imap-2004g/c-client/libc-client.a(osdep.o) > <unknown> 0x2b30 > /usr/local/src/pkb/imap-2004g/c-client/libc-client.a(osdep.o) > <unknown> 0x2b34 > /usr/local/src/pkb/imap-2004g/c-client/libc-client.a(osdep.o) > <unknown> 0x2b38 > /usr/local/src/pkb/imap-2004g/c-client/libc-client.a(osdep.o) > > Removing the --with-imap=/usr/local/src/imap-2004g and > --with-imap-ssl=/usr/local/openssl also fails to compile so the two > are probably connected to the openssl > > > lintl -ldb-4.1 -ldb-4.1 -lssl -lcrypto -lresolv -lm -ldl -lnsl > -lsocket -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket > -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl > -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -o > libphp5.la Text relocation remains referenced > against symbol offset in file <unknown> > 0x3cc /usr/local/openssl/lib/libssl.a(s3_lib.o) <unknown> > 0x3d0 /usr/local/openssl/lib/libssl.a(s3_lib.o) <unknown> > 0x3d4 /usr/local/openssl/lib/libssl.a(s3_lib.o) <unknown> > 0x3d8 /usr/local/openssl/lib/libssl.a(s3_lib.o) > > After removing --with-ssl=/usr/local/openssl from the config then the > build completes > > > Thanks |