From: thierry dot salmon at just dot fgov dot be
Operating system: RHELAS3 upd3 on ppc pSeries
PHP version: 5.0.3
PHP Bug Type: Compile Failure
Bug description: PHP 5.0.* Oracle 10g 10.1.0.2.0 DR1 on ppc pSeries cannot
find -lxl
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
--
Edit bug report at http://bugs.php.net/?id=31240&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31240&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31240&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31240&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31240&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31240&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31240&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31240&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31240&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31240&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31240&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31240&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31240&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31240&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31240&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31240&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31240&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31240&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31240&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31240&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31240&r=mysqlcfg