php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2432 compile fails when using --with-apxs with --with-oracle
Submitted: 1999-10-03 12:21 UTC Modified: 1999-10-03 12:58 UTC
From: cvaughan-php at borg dot dev dot datasys dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: RH Linux 6.0
Private report: No CVE-ID: None
 [1999-10-03 12:21 UTC] cvaughan-php at borg dot dev dot datasys dot net
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                 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-03 12:58 UTC] sas at cvs dot php dot net
Upgrading to the latest Apache will solve this.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC