php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31240 PHP 5.0.* Oracle 10g 10.1.0.2.0 DR1 on ppc pSeries RHELAS3 cannot find -lxl
Submitted: 2004-12-22 10:59 UTC Modified: 2005-02-01 08:44 UTC
From: trade dot development at just dot fgov dot be Assigned:
Status: Closed Package: OCI8 related
PHP Version: 5.0.3 OS: RHELAS3 upd3 on ppc pSeries
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 - 1 = ?
Subscribe to this entry?

 
 [2004-12-22 10:59 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-01 08:44 UTC] trade dot development at just dot fgov dot be
Corrections made for bug #31345 in PHP 5.1-dev
correct the problem
make test output sent
Message-ID: <41FF3102.7090508@just.fgov.be>
Date: Tue, 01 Feb 2005 08:34:26 +0100
From: Thierry Salmon <trade.development@just.fgov.be>
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: qa-reports@lists.php.net
Subject: php_test_results_20050131_1642.txt php5-200501310730 Bug #31240 solved
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC