php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43194 Compile error
Submitted: 2007-11-05 09:25 UTC Modified: 2007-11-12 13:51 UTC
From: sebastien dot mallard at fr dot adp dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 5.2.4 OS: SUSE 9 EL x86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sebastien dot mallard at fr dot adp dot com
New email:
PHP Version: OS:

 

 [2007-11-05 09:25 UTC] sebastien dot mallard at fr dot adp dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-11 18:51 UTC] jani@php.net
Please try using the recently released 5.2.5.
 [2007-11-12 13:51 UTC] sebastien dot mallard at fr dot adp dot com
I have update my Oracle Client and the compilation is OK.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 03:05:53 2022 UTC