|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58412 Unable to locate instantclient on HP-UX
Submitted: 2008-11-13 12:24 UTC Modified: 2012-10-26 05:46 UTC
From: catalin at isp-software dot de Assigned: sixd (profile)
Status: No Feedback Package: OCI8 related
PHP Version: Irrelevant OS: HP-UX 11.23
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: catalin at isp-software dot de
New email:
PHP Version: OS:


 [2008-11-13 12:24 UTC] catalin at isp-software dot de
On HP-UX the default shared library suffix is .sl in the configure script; however Oracle provides the libraries of the instantclient and it's database on HP-UX with .so suffix.
If I change the lines in configure which build the shlib suffix on hp-ux and change the .sl to .so it works fine.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-13 12:56 UTC] christopher dot jones at oracle dot com
Just to confirm, are you on Itanium or PA-RISC? Are you on 32 or 64 bit? And which version of Instant Client are you using?
 [2008-11-13 14:05 UTC] catalin at isp-software dot de
It's a Itanium/64bit box.
I've tried with instantclient and; both are the 32 bit versions downloaded from the oracle web site; the 32bit version for IA64
 [2008-11-19 21:02 UTC] christopher dot jones at oracle dot com
I'm told Instant Client uses .sl file extension on HP PA RISC and .so on HP Itanium. This is apparently what the 'ld' man pages specify.

Somehow the PHP build scripts need to differentiate between the two.
 [2009-03-10 16:03 UTC] christopher dot jones at oracle dot com
I don't have access to HP machines to test.  What is the effect of the following patch?  If it works, it will change the base shared library extension for PHP on Itanium.  This may or may not be a good thing.

--- acinclude.m4.orig	2008-12-03 13:55:53.000000000 -0800
+++ acinclude.m4	2009-03-10 13:57:10.000000000 -0700
@@ -1975,8 +1975,16 @@
  case $host_alias in
+   case $host_cpu in
+     ia64*[)]
+       ;;
+     *[)]
+       ;;
+   esac
 [2009-03-11 12:36 UTC] christopher dot jones at oracle dot com
To test the patch:
cd php53
make clean
patch < file_containing_the_patch
rm configure
./buildconf --force
./configure --with_your_desired_options
make test
 [2009-03-12 02:51 UTC] catalin at isp-software dot de
I tried the patch on php-5.2.9 and it works just fine.
On php-5.3.0beta1 it fails with a different error:
 'error: Oracle Instant Client libraries not found'
I get same error on Linux, though I daresay it is a different issue. I am working on tracking it down.
 [2009-03-12 11:51 UTC] christopher dot jones at oracle dot com
Let us know how it goes.
 [2012-10-26 05:46 UTC]
-Status: Feedback +Status: No Feedback -Package: oci8 +Package: OCI8 related
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 10:01:34 2024 UTC