Edit report at https://bugs.php.net/bug.php?id=58412&edit=1

 ID:                 58412
 Updated by:         s...@php.net
 Reported by:        catalin at isp-software dot de
 Summary:            Unable to locate instantclient on HP-UX
-Status:             Feedback
+Status:             No Feedback
 Type:               Bug
-Package:            oci8
+Package:            OCI8 related
 Operating System:   HP-UX 11.23
 PHP Version:        Irrelevant
 Assigned To:        sixd
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2009-03-12 11:51:19] christopher dot jones at oracle dot com

Let us know how it goes.

------------------------------------------------------------------------
[2009-03-12 02:51:11] 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-11 12:36:49] 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-10 16:03:04] 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 @@
  SHLIB_DL_SUFFIX_NAME=$SHLIB_SUFFIX_NAME
  case $host_alias in
  *hpux*[)]
-   SHLIB_SUFFIX_NAME=sl
-   SHLIB_DL_SUFFIX_NAME=sl
+   case $host_cpu in
+     ia64*[)]
+       SHLIB_SUFFIX_NAME=so
+       SHLIB_DL_SUFFIX_NAME=so
+       ;;
+     *[)]
+       SHLIB_SUFFIX_NAME=sl
+       SHLIB_DL_SUFFIX_NAME=sl
+       ;;
+   esac
    ;;
  *darwin*[)]
    SHLIB_SUFFIX_NAME=dylib

------------------------------------------------------------------------
[2008-11-19 21:02:46] 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.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=58412


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=58412&edit=1

Reply via email to