473,416 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Experience with PHP & Oracle 9.2.0/OCI8

Hello,

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 =>
/usr/local/mysql/lib/mysql/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 =>
/opt/oracle/product/9.2.0/lib32/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
/usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1

(yes I do have a lot of extentions).

Has anybody an idea why?

Stacktrace:

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 8398

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

Similar topics

3
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...
3
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...
4
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...
9
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...
6
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...
4
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");...
1
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...
3
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...
0
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 10.2.0.1
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.