Edit report at https://bugs.php.net/bug.php?id=62355&edit=1

 ID:                 62355
 Updated by:         ras...@php.net
 Reported by:        crytosky at hotmail dot com
 Summary:            php make doesn't generate libphp5.so
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Compile Failure
 Operating System:   openSUSE 10.3 (i586)
 PHP Version:        5.4.4
 Block user comment: N
 Private report:     N

 New Comment:

Unless you are building the Apache SAPI (which from your configure flags you 
are 
not) you are not going to get a libphp5.so


Previous Comments:
------------------------------------------------------------------------
[2012-06-18 17:36:44] crytosky at hotmail dot com

Description:
------------
---
>From manual page: http://www.php.net/install.unix
---
I'm trying to build and install php form source, the pkg I downloaded is 
php-5.4.4.tar.gz. The infomation about my platform is as follows:
jack@linux-lc4j:~> cat /etc/SuSE-release
openSUSE 10.3 (i586)
VERSION = 10.3
jack@linux-lc4j:~> uname -a
Linux linux-lc4j 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 
i386 GNU/Linux
jack@linux-lc4j:~> gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib 
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit 
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 
--enable-version-specific-runtime-libs --without-system-libunwind 
--with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)

When running configure, whether with "--with-gnu-ld" option or not, the 
following info shows near the end:
Configuring libtool
checking for ld used by cc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/i586-suse-linux/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

As a result, after running make, libphp5.so is not created. Check the following 
bug reports:
https://bugs.php.net/bug.php?id=39197
https://bugs.php.net/bug.php?id=40268

Seems it's still there with 5.4.4 on some platforms. Is there any thorough 
solution? Or any workround with more documentations?

Thanks in advance!



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62355&edit=1

Reply via email to