php.net |  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
Votes:55
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-07-22 17:21 UTC] dmhilker at gmail dot com
Description:
------------
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:
 *hpux*)
   SHLIB_SUFFIX_NAME=sl
   SHLIB_DL_SUFFIX_NAME=sl

I changed to this to get it to work:


 *hpux*)
   SHLIB_SUFFIX_NAME=so
   SHLIB_DL_SUFFIX_NAME=so




Patches

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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-07 21:22 UTC] kalle@php.net
Hi

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] kalle@php.net
-Status: Open +Status: Analyzed
 [2016-07-01 15:04 UTC] cmb@php.net
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] <http://stackoverflow.com/questions/1691734/what-is-the-difference-between-a-sl-and-a-so-on-hpux>
[2] <https://en.wikipedia.org/wiki/HP-UX#Release_history>
 [2021-08-11 09:58 UTC] cmb@php.net
-Status: Analyzed +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-11 09:58 UTC] cmb@php.net
The question is, however, whether this is still an issue with any
of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC