#26908 [Fbk->Opn]: Unable to create shared libraries in HPUX

From: Date: Wed, 14 Jan 2004 19:50:33 +0000
Subject: #26908 [Fbk->Opn]: Unable to create shared libraries in HPUX
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53336@lists.php.net to get a copy of this message
ID: 26908 User updated by: knarayan97 at yahoo dot com Reported By: knarayan97 at yahoo dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: HP-UX 11.00 PHP Version: 4.3.4 New Comment: env CFLAGS=' -D_REENTRANT -I/usr/local/myutils/include ' \ CXXFLAGS=' -D_REENTRANT -I/usr/local/myutils/include\ ./configure --prefix=/usr/local/php \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr/local/mysql \ --enable-shared \ ; Configuring libtool checking for Cygwin environment... no checking for mingw32 environment... no checking build system type... config.sub: missing argument Try `config.sub --help' for more information. 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... unknown checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -p output... failed checking for -ranlib... (cached) ranlib checking for -strip... no checking for strip... strip checking for objdir... .libs checking for /opt/ansic/bin/cc option to produce PIC... none checking if /opt/ansic/bin/cc static flag 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... no checking how to hardcode library paths into programs... unsupported checking whether stripping libraries is possible... no checking dynamic linker characteristics... no checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool Previous Comments: ------------------------------------------------------------------------ [2004-01-14 14:33:21] sniper@php.net The provided configure line is invalid. Please show the actual configure line you used which does not work. (to get an apache2 dso use --with-apxs2) ------------------------------------------------------------------------ [2004-01-14 14:07:54] knarayan97 at yahoo dot com I have been able to get shared libraries with PHP4.2.1 but have been unsuccessful with PHP 4.3.0 ------------------------------------------------------------------------ [2004-01-14 14:06:37] knarayan97 at yahoo dot com 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 this bug report at http://bugs.php.net/?id=26908&edit=1

« previous php.bugs (#53336) next »