I'm compiling php-4.0.4pl1 for SunOS 5.6 and Apache 1.3.12 with the following configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs
Configure completes, but during MAKE, I get:
/bin/sh /tmp/php-4.0.4pl1/libtool --silent --mode=link gcc -I. -I/tmp/php-4.0.4
pl1/ -I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1 -I/usr/local/apache/include -I
/tmp/php-4.0.4pl1/Zend -I/tmp/php-4.0.4pl1/ext/mysql/libmysql -I/tmp/php-4.0.4pl
1/ext/xml/expat/xmltok -I/tmp/php-4.0.4pl1/ext/xml/expat/xmlparse -I/tmp/php-4.0
.4pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=260 -DUSE_EXPAT -DXML_BYTE_ORD
ER=21 -g -O2 -o libphp4.la -rpath /tmp/php-4.0.4pl1/libs -avoid-version -L/usr
/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R /usr/ucblib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 stub.lo Zend/libZend.la sapi
/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/p
cre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libs
tandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lresolv -lresolv -lm -l
dl -lcrypt -lnsl -lsocket -lsocket -lgcc
ld: elf error: file stub.lo: unknown type, unable to process using elf(3E) libra
ries
When I tried doing it for Oracle as well, I got different ld errors about libraries not being found.
Any suggestions?
Thanks in advance,
Bill