PHP 4.0 Bug #2432: compile fails when using --with-apxs with --with-oracle
| From: | cvaughan-php at borg dot dev dot datasys dot net | Date: | Sun, 03 Oct 1999 16:21:11 +0000 |
| Subject: | PHP 4.0 Bug #2432: compile fails when using --with-apxs with --with-oracle | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11476@lists.php.net to get a copy of this message | ||
From: cvaughan-php@borg.dev.datasys.net
Operating system: RH Linux 6.0
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: compile fails when using --with-apxs with --with-oracle
Both in the latest CVS and in 4.0Beta2, when I try to compile, I get an ld error. If I take out the
--with-apxs option, it will compile fine. If I take out the --with-oracle and --with-oci it
compiles fine.
Here is my ./configure command, and the output from make
---
#./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache \
--enable-track-vars \
--with-oracle=/usr/local/oracle \
--with-oci8=/usr/local/oracle
and make:
# make
Making all in libzend
make[1]: Entering directory `/usr/src/php-cvs/libzend'
gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-cvs/php4/./libzend -I. -g -O2 -g -c zend-parser.c
{...error free lines removed...}
make[1]: Leaving directory `/usr/src/php-cvs/php4/sapi/apache'
/usr/local/apache/bin/apxs -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/local/apa
che/include -I/usr/local/oracle/rdbms/demo -I/usr/local/oracle/network/public -I/usr/local/
src/php-cvs/php4/ext/pcre/pcrelib -lpcre -L/usr/src/php-cvs/php4/regex -lregex
/usr/src/php-cvs/php4/libzend/zend_config --libs -lnsl -lcrypt -lgdbm -lttf -lclntsh
-lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib -Wl,-rpath,/usr/local/oracle/lib
-lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib
-Wl,-rpath,/usr/local/oracle/lib -lpam -Llibzend -lzend -Lext -lphpext
-L/usr/src/php-cvs/php4/ext/pcre/pcrelib -lpcre -L/usr/src/php-cvs/php4/regex -lregex
/usr/src/php-cvs/php4/libzend/zend_config --libs -lnsl -lcrypt -lgdbm -lttf -lclntsh
-lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib -Wl,-rpath,/usr/local/oracle/lib
-lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib
-Wl,-rpath,/usr/local/oracle/lib -lpam -ldl -lgd -lm -lresolv
ld -Bshareable -o libphp4.so ./sapi/apache/mod_php4.o libmodphp4-so.a
-L/usr/src/php-cvs/php4/ext/pcre/pcrelib -lpcre -L/usr/src/php-cvs/php4/regex -lregex -ldl -lnsl
-lcrypt -lgdbm -lttf -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib
-Wl,-rpath,/usr/local/oracle/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm
-L/usr/local/oracle/lib -Wl,-rpath,/usr/local/oracle/lib -lpam -Llibzend -lzend -Lext -lphpext
-L/usr/src/php-cvs/php4/ext/pcre/pcrelib -lpcre -L/usr/src/php-cvs/php4/regex -lregex -ldl -lnsl
-lcrypt -lgdbm -lttf -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/oracle/lib
-Wl,-rpath,/usr/local/oracle/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm
-L/usr/local/oracle/lib -Wl,-rpath,/usr/local/oracle/lib -lpam -ldl -lgd -lm -lresolv
ld: unrecognized option `-Wl,-rpath,/usr/local/oracle/lib'
ld: use the --help option for usage information
apxs:Break: Command failed with rc=65536
make: *** [libphp4.so] Error 1