php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62355 php make doesn't generate libphp5.so
Submitted: 2012-06-18 17:36 UTC Modified: 2012-06-19 06:02 UTC
From: crytosky at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.4.4 OS: openSUSE 10.3 (i586)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: crytosky at hotmail dot com
New email:
PHP Version: OS:

 

 [2012-06-18 17:36 UTC] 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!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-19 06:02 UTC] rasmus@php.net
Unless you are building the Apache SAPI (which from your configure flags you are 
not) you are not going to get a libphp5.so
 [2012-06-19 06:02 UTC] rasmus@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 07:01:30 2024 UTC