From:             sebastien dot mallard at fr dot adp dot com
Operating system: SUSE 9 EL x86_64
PHP version:      5.2.4
PHP Bug Type:     Compile Failure
Bug description:  Compile error

Description:
------------
Hello all,

Sorry for my poor english ! :o)

I have a problem to compile PHP 5.2.4 with oracle 9.2.0.5

My machine :
Linux 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux (SUSE 9)


Reproduce code:
---------------
My configure line :
./configure --without-mysql --prefix=/ehc/fs1/softs/clw/php-5.2.4
--with-config-file-path=/ehc/fs1/adp/clw/conf/php
--with-oci8=/ehc/fs1/softs/app/oracle/product/9.2.0.5
--with-apxs2=/ehc/fs1/softs/clw/httpd-2.2.0/bin/apxs --with-ldap
--with-libxml-dir=/ehc/fs1/softs/clw/libxml2-2 --with-libdir=lib64

Actual result:
--------------
Debug.log
CONFIGURE: './configure' '--without-mysql'
'--prefix=/ehc/fs1/softs/clw/php-5.2.4'
'--with-config-file-path=/ehc/fs1/adp/clw/conf/php'
'--with-oci8=/ehc/fs1/softs/app/oracle/product/9.2.0.5'
'--with-apxs2=/ehc/fs1/softs/clw/httpd-2.2.0/bin/apxs' '--with-ldap'
'--with-libxml-dir=/ehc/fs1/softs/clw/libxml2-2'
'--with-libdir=lib64'
CC: gcc
CFLAGS: -I/usr/include -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/ehc/fs1/softs/clw/libxml2-2/include/libxml2
-I/ehc/fs1/home/infog/clw/softs/php-5.2.4/ext/date/lib
-I/ehc/fs1/softs/app/oracle/product/9.2.0.5/rdbms/public
-I/ehc/fs1/softs/app/oracle/product/9.2.0.5/rdbms/demo
LDFLAGS: -L/usr/lib64 -Wl,-rpath,/ehc/fs1/softs/clw/libxml2-2/lib
-L/ehc/fs1/softs/clw/libxml2-2/lib
-Wl,-rpath,/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib
-L/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib
LIBS: -lldap -llber -lresolv -lm -ldl -lnsl -lxml2 -lm -lxml2 -lm -ldl -lm
-lnsl -lirc -lclntsh -lxml2 -lm
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /ehc/fs1/softs/clw/libxml2-2/lib
/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib
uname -a: Linux adplx115 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC
2005 x86_64 x86_64 x86_64 GNU/Linux

gcc -o conftest -I/usr/include -g -O2 -L/usr/lib64
-Wl,-rpath,/ehc/fs1/softs/clw/libxml2-2/lib
-L/ehc/fs1/softs/clw/libxml2-2/lib
-Wl,-rpath,/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib
-L/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib conftest.c -lldap -llber
-lresolv -lm -ldl -lnsl -lxml2 -lm -lxml2 -lm -ldl -lm -lnsl -lirc -lclntsh
-lxml2 -lm 1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible
/ehc/fs1/softs/app/oracle/product/9.2.0.5/lib/libirc.a when searching for
-lirc
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lirc
collect2: ld returned 1 exit status

-- 
Edit bug report at http://bugs.php.net/?id=43194&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43194&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43194&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43194&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43194&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43194&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43194&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43194&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43194&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43194&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43194&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43194&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43194&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43194&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43194&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43194&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43194&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43194&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43194&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43194&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43194&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43194&r=mysqlcfg

Reply via email to