#31240 [NEW]: PHP 5.0.* Oracle 10g 10.1.0.2.0 DR1 on ppc pSeries cannot find -lxl

2004-12-22 Thread thierry dot salmon at just dot fgov dot be
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


#29453 [Com]: IMAP support breaks .so

2004-09-20 Thread thierry dot salmon at just dot fgov dot be
 ID:   29453
 Comment by:   thierry dot salmon at just dot fgov dot be
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: Gentoo Linux  x86_64 (Opteron)
 PHP Version:  5.0.0
 New Comment:

Same problem with apache-1.3.31 + php-5.0.1 on RH9
-
apache
./configure --verbose \
--prefix=/opt/WEB/apache-1.3.31_compiled \
--enable-module=most \
--enable-shared=max \
--enable-module=so \
 >configure.log 2>&1
=ok
--
php-4.3.8
./configure \
 --prefix=/opt/WEB/php-4.3.8_compiled \
 --with-apxs=/opt/WEB/apache-1.3.31_compiled/bin/apxs \
 --with-informix=/opt/informix.se \
 --with-oci8=/opt/Oracle_10g/oracle/product/10.1.0/db_1 \
 --without-mysql \
 --enable-sigchild \
 --enable-memory-limit \
 --with-libxml-dir=/opt/WEB/libxml2-2.6.8_compiled \
 >configure.log 2>&1
=ok
Installing PHP SAPI module:   apache
[activating module `php4' in
/opt/WEB/apache-1.3.31_compiled/conf/httpd.conf]
cp libs/libphp4.so /opt/WEB/apache-1.3.31_compiled/libexec/libphp4.so
chmod 755 /opt/WEB/apache-1.3.31_compiled/libexec/libphp4.so
cp /opt/WEB/apache-1.3.31_compiled/conf/httpd.conf
/opt/WEB/apache-1.3.31_compiled/conf/httpd.conf.bak
cp /opt/WEB/apache-1.3.31_compiled/conf/httpd.conf.new
/opt/WEB/apache-1.3.31_compiled/conf/httpd.conf
rm /opt/WEB/apache-1.3.31_compiled/conf/httpd.conf.new
Installing PHP CLI binary:/opt/WEB/php-4.3.8_compiled/bin/
Installing PHP CLI man page: 
/opt/WEB/php-4.3.8_compiled/man/man1/
Installing PEAR environment:  /opt/WEB/php-4.3.8_compiled/lib/php/
[PEAR] Archive_Tar- installed: 1.1
[PEAR] Console_Getopt - installed: 1.2
[PEAR] PEAR   - installed: 1.3.2
Wrote PEAR system config file at:
/opt/WEB/php-4.3.8_compiled/etc/pear.conf
You may want to add: /opt/WEB/php-4.3.8_compiled/lib/php to your
php.ini include_path
[PEAR] DB - installed: 1.6.2
[PEAR] HTTP   - installed: 1.2.2
[PEAR] Mail   - installed: 1.1.3
[PEAR] Net_SMTP   - installed: 1.2.3
[PEAR] Net_Socket - installed: 1.0.1
[PEAR] XML_Parser - installed: 1.0.1
[PEAR] XML_RPC- installed: 1.1.0
Installing build environment:
/opt/WEB/php-4.3.8_compiled/lib/php/build/
Installing header files: 
/opt/WEB/php-4.3.8_compiled/include/php/
Installing helper programs:   /opt/WEB/php-4.3.8_compiled/bin/
  program: phpize
  program: php-config
  program: phpextdist


php-5.0.1./configure \
 --prefix=/opt/WEB/php-5.0.1_compiled \
 --with-apxs=/opt/WEB/apache-1.3.31_compiled/bin/apxs \
 --with-informix=/opt/informix.se \
 --with-oci8=/opt/Oracle_10g/oracle/product/10.1.0/db_1 \
 --without-mysql \
 --enable-sigchild \
 --enable-memory-limit \
 --with-libxml-dir=/opt/WEB/libxml2-2.6.8_compiled \
 >configure.log 2>&1
=
Installing PHP SAPI module:   apache
[activating module `php5' in
/opt/WEB/apache-1.3.31_compiled/conf/httpd.conf]
cp libs/libphp5.so /opt/WEB/apache-1.3.31_compiled/libexec/libphp5.so
cp: cannot stat `libs/libphp5.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1


Previous Comments:


[2004-09-17 17:30:40] mojoandy at yahoo dot com

I'm getting the same issue with Mandrake 10 on AMD64.  Exactly the same
issue, so it ain't Gentoo.



[2004-09-14 09:28:11] [EMAIL PROTECTED]

You may be right Derick. 
But it's a little weird that it works with php 4.x.
And it's also weird that I can compile a whole linux system with my
build environment and only php5 reports problems.

Anyway - I was able to do a work around and if noone else thinks that
this could be a php problem I agree with you to set this bug to bogus.
Thanks for looking into the issue Derick.

Daniel Khan



[2004-09-14 08:36:06] [EMAIL PROTECTED]

I'd say blame the Gentoo people for not offering solid programs. No bug
here -> bogus.



[2004-09-13 20:05:08] [EMAIL PROTECTED]

libtool-1.5.2-r5
automake-1.8.5-r1
autoconf-2.59-r4

FYI:
I haven't had problems with other software yet and as it's a gentoo
system nearly everything get's compiled from scratch.

My portage tree doesn't even offer autoconf-2.13 anymore btw.
I am on amd64 and so not that free in choosing older software
versions.

Meanwhile I compiled the IMAP support as Dynamic Extension and it works
now.

My config.nice for ext/imap looks like this:

CC='gcc' \
CXX='g++' \
'./configure' \
'--with-imap=/usr/lib/' \
&#