|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-01 08:44 UTC] trade dot development at just dot fgov dot be
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 04:00:01 2025 UTC |
Description: ------------ Config : IBM eServer pSeries 630 : ppc RHELAS3 upd 3 Oracle 10g 10.1.0.2.0 Developement Release 1 PHP Version 5.0.2 or 5.0.3 Problem : /usr/bin/ld: skipping incompatible /opt/Oracle_10g/oracle/product/10.1.0.2.0_DR1/db_1/lib/libxl.a when searching for -lxl /usr/bin/ld: cannot find -lxl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Oracle says : xl lib not oracle lib Same config works on i386 Compilation Script : #!/bin/sh #=============================================== # Oracle Environment #=============================================== export ORACLE_BASE=/opt/Oracle_10g/oracle export ORACLE_SID=test #unset ORACLE_HOME unset TNS_ADMIN export ORACLE_HOME=$ORACLE_BASE/product/10.1.0.2.0_DR1/db_1 export PATH=$PATH:$ORACLE_HOME/bin #=============================================== echo "#########" echo "# CLEAN #" echo "#########" make clean #=============================================== echo "#########" echo "# CONF #" echo "#########" ./configure \ --prefix=/opt/WEB/php-5.0.2_compiled \ --with-apxs=/opt/WEB/apache-1.3.31_compiled/bin/apxs \ --with-oci8=/opt/Oracle_10g/oracle/product/10.1.0.2.0_DR1/db_1 \ --without-mysql \ --enable-sigchild \ --enable-memory-limit \ --with-libxml-dir=/opt/WEB/libxml2-2.6.8_compiled \ >configure.log 2>&1 #=============================================== echo "#########" echo "# MAKE #" echo "#########" make >make.log 2>&1 #=============================================== echo "#########" echo "# INST #" echo "#########" make install >makeinstall.log 2>&1