|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52408 Configure script incorrectly assumes that all HP-UX OS's use .sl extensions
Submitted: 2010-07-22 17:21 UTC Modified: 2016-07-01 15:04 UTC
Avg. Score:4.1 ± 0.9
Reproduced:17 of 35 (48.6%)
Same Version:17 (100.0%)
Same OS:17 (100.0%)
From: dmhilker at gmail dot com Assigned:
Status: Analyzed Package: Compile Failure
PHP Version: 5.3.3 OS: HP-UX 11.31
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: dmhilker at gmail dot com
New email:
PHP Version: OS:


 [2010-07-22 17:21 UTC] dmhilker at gmail dot com
The php configure script assumes that all hp-ux os's use .sl extension for shared libraries.  HP-UX 11.31 now uses .so extension for shared libraries.  If the configure script is used on HP-UX 11.31, it will not find the shared libraries because it is always looking for the .sl extension.  The configure script will have to test what version of hpux is being used in order to set the configure shlib suffix name variables correctly.

Test script:
Snip from configure:

I changed to this to get it to work:



sdtivjbl (last revision 2015-01-05 04:52 UTC by sample at email dot tst)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-07 21:22 UTC]

I belive we should have a check for the newer versions of HPUX and override those values to keep BC with older versions, however Im not familiar with the Unix build system, but if you can provide such a patch one of us will commit it
 [2010-08-07 21:23 UTC]
-Status: Open +Status: Analyzed
 [2016-07-01 15:04 UTC]
According to a StackOverflow answer, .so is in use as of HP-UX
11.20. According to Wikipedia[2] HP-UX 11.20 has been released in
2001. If both statements are true, we certainly could simply
change the extension without fallback.

[1] <>
[2] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jul 26 21:01:24 2021 UTC