Bug #52408 [Ana]: Configure script incorrectly assumes that all HP-UX OS's use .sl extensions
| From: | cmb@php.net | Date: | Fri, 01 Jul 2016 15:04:26 +0000 |
| Subject: | Bug #52408 [Ana]: Configure script incorrectly assumes that all HP-UX OS's use .sl extensions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201966@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52408&edit=1
ID: 52408
Updated by: cmb@php.net
Reported by: dmhilker at gmail dot com
Summary: Configure script incorrectly assumes that all HP-UX
OS's use .sl extensions
Status: Analyzed
Type: Bug
Package: Compile Failure
Operating System: HP-UX 11.31
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
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>
Previous Comments:
------------------------------------------------------------------------
[2010-08-07 21:22:35] 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-07-22 17:21:08] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=52408&edit=1