472,951 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

Experience with PHP & Oracle 9.2.0/OCI8


I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9
system. The link succeeds but everytime I try to run php, I get a SEGV from
inside the libcnltsh.so library.

354 [18:31] roberto@ausone:Build/php-4.3.2> ldd /opt/php4/bin/php
libsablot.so.0 => /usr/local/lib/libsablot.so.0
libstdc++.so.5 => /usr/local/lib/libstdc++.so.5
libm.so.1 => /usr/lib/libm.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libpdf.so.1 => /usr/local/lib/libpdf.so.1
libz.so.1 => /usr/lib/libz.so.1
libtiff.so => /usr/local/lib/libtiff.so
libpng12.so.0 => /usr/local/lib/libpng12.so.0
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62
libmysqlclient.so.10 =>
libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libldap.so.2 => /usr/local/lib/libldap.so.2
liblber.so.2 => /usr/local/lib/liblber.so.2
libdl.so.1 => /usr/lib/libdl.so.1
libxslt.so.1 => /usr/local/lib/libxslt.so.1
libbz2.so.1 => /usr/lib/libbz2.so.1
libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7
libresolv.so.2 => /usr/lib/libresolv.so.2
libxml2.so.2 => /usr/local/lib/libxml2.so.2
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libclntsh.so.9.0 =>
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libwtc9.so => /opt/oracle/product/9.2.0/lib32/libwtc9.so
libsched.so.1 => /usr/lib/libsched.so.1
libaio.so.1 => /usr/lib/libaio.so.1
librt.so.1 => /usr/lib/librt.so.1
libmd5.so.1 => /usr/lib/libmd5.so.1

(yes I do have a lot of extentions).

Has anybody an idea why?


Program received signal SIGSEGV, Segmentation fault.
0xfe1bfc8c in sskgmstat ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
(gdb) where
#0 0xfe1bfc8c in sskgmstat ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#1 0xfe1bc328 in skgmidrealm ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#2 0xfe1bbdc8 in skgmlocate ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#3 0xfe1bb3ac in skgmcrone ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#4 0xfe1bae98 in skgmcrmany ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#5 0xfe1b81e0 in skgmcreate ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#6 0xfde721bc in kgupmcreate_sga ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#7 0xfde6f9a4 in kgup_startup ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#8 0xfdda7a54 in kpushInit ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#9 0xfe1a624c in kpummpin ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#10 0xfdd9e8ec in kpupin ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#11 0xfdd556b4 in OCIInitialize ()
from /opt/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#12 0x000782c0 in utf8Strchr(char const*, char const*) ()
at /export/home/roberto/Build/php-4.3.2/ext/oci8/oci8.c:487
#13 0x0015e8cc in zend_startup_module (module=0x1e57a4)
at /export/home/roberto/Build/php-4.3.2/Zend/zend_API.c:1005
#14 0x00131a2c in php_startup_extensions (ptr=0x1f087c, count=2033840)
at /export/home/roberto/Build/php-4.3.2/main/main.c:1033
#15 0x00173b64 in php_startup_internal_extensions ()
at main/internal_functions.c:99
Ollivier ROBERT -=- Eurocontrol EEC/AMI -=- ro*****@eurocontrol.fr
Usenet Canal Historique FreeBSD: The Power to Serve!
Jul 16 '05 #1
0 8331

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Chad The Man | last post by:
I have been developing some applications on suse 9 / apache 1.37 / php 4.3.4 / Oracle 9i / OCI8. We recently moved servers, apache works fine, php works fine, oracle works fine... however, trying...
by: David | last post by:
Hello all, I have been trying to use the OCI driver to connect to Oracle 9i, but have been getting the following error: java.sql.SQLException: Closed Connection at...
by: cyrano | last post by:
I am having issues maintaining an oracle connection in my apache/php web application. I am able to succesfully connect to an Oracle 9i dbase using oci() and retrieve expected results for the...
by: Keith E. Sauvant | last post by:
Hi, we got a strange problem connecting to an Oracle database onsite with our PHP application: During CSV import job handled by our application, PHP opens up to some hundred connections to the...
by: hegyvari | last post by:
Hi, I have a few apps written in PHP, running on Fedora Core. After porting these applications from PostgreSQL to Oracle a bug appeared: sometimes, not in a reproducable manner, the web page...
by: Cal Lidderdale | last post by:
I just got a VM box. 2.6.9-22.ELsmp, Oracle 10gr2_client This works: # sqlplus user/pw@machine connects right up. But this doesn't: putenv ("ORACLE_PATH=/opt/oracle/10gr2_client/bin");...
by: James | last post by:
I am getting frustrated of the PHP 5 releases chocking on OCI8 -- they just seem really unstable as do recent ISAPI filters when run on Windows 2003 Server. As an example the newest PHP 5.1.4...
by: danish | last post by:
Hi, Can anyone tell me how to access oracle from php. Im using CentOS 4 with php4 already installed. From what I found after a bit of googling...php will have to be recompiled with oracle...
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.