|  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: 2021-08-22 04:22 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: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.3 OS: HP-UX 11.31
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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] <>
 [2021-08-11 09:58 UTC]
-Status: Analyzed +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-11 09:58 UTC]
The question is, however, whether this is still an issue with any
of the actively supported PHP versions[1]?

[1] <>
 [2021-08-22 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 16:01:29 2023 UTC