From:             knarayan97 at yahoo dot com
Operating system: HP-UX 11.00
PHP version:      4.3.4
PHP Bug Type:     *Compile Issues
Bug description:  Unable to create shared libraries in HPUX

Description:
------------
I'm trying to compile PHP4.3.4 as a DSO module (Apache 2) with HP ANSI C.
I am unable to configure it to build shared libraries. I have tried the
simplest configuration without any options other that shared but I'm still
unable to configure for shared libraries.





Reproduce code:
---------------

./configure --prefix=/usr/local --enable-shared

Actual result:
--------------
Configuring libtool
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... hppa2.0w-hp-hpux11.00
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -p output... ok
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for /opt/ansic/bin/cc option to produce PIC... +Z
checking if /opt/ansic/bin/cc PIC flag +Z works... yes
checking if /opt/ansic/bin/cc static flag -Wl,-a -Wl,archive works...
yes
checking if /opt/ansic/bin/cc supports -c -o file.o... yes
checking if /opt/ansic/bin/cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool


-- 
Edit bug report at http://bugs.php.net/?id=26908&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26908&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26908&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26908&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26908&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26908&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26908&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26908&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26908&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26908&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26908&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26908&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26908&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26908&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26908&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26908&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26908&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26908&r=float

Reply via email to