php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30505 make install segmentation fault on PEAR
Submitted: 2004-10-21 02:31 UTC Modified: 2004-10-21 04:20 UTC
From: php at thesnodgrass dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.0.2 OS: FreeBSD 5.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at thesnodgrass dot com
New email:
PHP Version: OS:

 

 [2004-10-21 02:31 UTC] php at thesnodgrass dot com
Description:
------------
Upgrading from 5.0.1 to 5.0.2

./configure --with-apxs2=/usr/local/apache/bin/apxs --with-pgsql --with-pfpro=/usr/local --enable-calendar --with-openssl ?-with-zlib ?-with-bz2

'./configure' and 'make' work fine.

running 'make install' gives:

Installing PHP SAPI module:       apache2handler
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/
cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/src/php-5.0.2/libs'
chmod 755 /usr/local/apache/modules/libphp5.so
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/php-5.0.2.
*** Error code 1

Stop in /usr/src/php-5.0.2.



Tried latest snapshot, same thing.
If I go back to /usr/src/php-5.0.1 and run make install everything works fine.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-21 04:20 UTC] php at thesnodgrass dot com
Nevermind I figured out that it is a borked OpenSSL installation.  Sorry about the noise.

For future users having this problem: remove all of your ./configure options (except for the most basic), build, and install.  Then go back and add the options you need one by one and rebuild and reinstall.  Rinse and repeat until you find out which option is breaking the install.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC