ID:               31240
 User updated by:  trade dot development at just dot fgov dot be
-Summary:          PHP 5.0.* Oracle 10g 10.1.0.2.0 DR1 on ppc pSeries
                   cannot find -lxl
-Reported By:      thierry dot salmon at just dot fgov dot be
+Reported By:      trade dot development at just dot fgov dot be
-Status:           Open
+Status:           Closed
-Bug Type:         Compile Failure
+Bug Type:         OCI8 related
 Operating System: RHELAS3 upd3 on ppc pSeries
 PHP Version:      5.0.3
 New Comment:

Corrections made for bug #31345 in PHP 5.1-dev
correct the problem
make test output sent
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 01 Feb 2005 08:34:26 +0100
From: Thierry Salmon <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: php_test_results_20050131_1642.txt php5-200501310730 Bug
#31240 solved


Previous Comments:
------------------------------------------------------------------------

[2004-12-22 10:59:30] trade dot development at just dot fgov dot be

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 this bug report at http://bugs.php.net/?id=31240&edit=1

Reply via email to