php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24610 core dump installing pear
Submitted: 2003-07-11 14:24 UTC Modified: 2003-07-12 22:51 UTC
From: gbaratto at superb dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2 OS: freebsd 4.8
Private report: No CVE-ID: None
 [2003-07-11 14:24 UTC] gbaratto at superb dot net
Description:
------------
configure and compilation goes fine, make install brakes. It works fine if I take out --with-openssl

export LDFLAGS=-I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r (THIS IS BECAUSE PAYFLOW PRO REQUIRES THREADS)

./configure  --prefix=/home/apache/php-4.3.2 --with-apxs2=/home/apache/httpd-2.0.47/bin/apxs --with-mysql=/usr/local --with-pfpro=/home/apache/verisign/payflowpro/freebsd/lib --enable-trans-sid --with-mcrypt --with-openssl

I think this is a problem between thread payflow lib and non- thread libssl or zlib. Any idea on how to make this to work? 



Actual result:
--------------
ERROR:
----------------
%make install
Installing PHP CLI binary:        /home/apache/php-4.3.2/bin/
Installing PHP CLI man page:      /home/apache/php-4.3.2/man/man1/
Installing PHP SAPI module
/home/apache/httpd-2.0.47/build/instdso.sh SH_LIBTOOL='/home/apache/httpd-2.0.47/build/libtool' libphp4.la /home/apache/httpd-2.0.47/modules
/home/apache/httpd-2.0.47/build/libtool --mode=install cp libphp4.la /home/apache/httpd-2.0.47/modules/
cp .libs/libphp4.so /home/apache/httpd-2.0.47/modules/libphp4.so
cp .libs/libphp4.lai /home/apache/httpd-2.0.47/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /home/apache/src/php-4.3.2/libs'
chmod 755 /home/apache/httpd-2.0.47/modules/libphp4.so
[activating module `php4' in /home/apache/httpd-2.0.47/conf/httpd.conf]
Installing shared extensions:     /home/apache/php-4.3.2/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /home/apache/php-4.3.2/lib/php/
Segmentation fault (core dumped)
*** Error code 139

Stop in /home/apache/src/php-4.3.2.
*** Error code 1

Stop in /home/apache/src/php-4.3.2.


GDB RESULTS:
-----------------
%gdb sapi/cli/php php.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/liblthread.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /home/apache/verisign/payflowpro/freebsd/lib/libpfpro.so...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.12...done.
Reading symbols from /usr/local/lib/libmcrypt.so.8...done.
Reading symbols from /usr/local/lib/libltdl.so.1...done.
Reading symbols from /usr/lib/libssl.so.3...done.
Reading symbols from /usr/lib/libcrypto.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x2845ff50 in strcmp () from /usr/lib/libc.so.4
(gdb) bt full
#0  0x2845ff50 in strcmp () from /usr/lib/libc.so.4
No symbol table info available.
#1  0x281ff80e in PNVersion () from /home/apache/verisign/payflowpro/freebsd/lib/libpfpro.so
No symbol table info available.
Cannot access memory at address 0x2.
-------

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-12 22:51 UTC] sniper@php.net
openssl and pfpro don't like each other. Not PHP bug.
(report that to the pfpro developers..)

 [2003-08-05 10:39 UTC] bduell at ncacasi dot org
I have verified, through VeriSign, that the SDK of PayflowPro (currently, v. 3.06) is statically linked against the openssl libraries.

They have no plans on changing this design, therefor we will be changing payment processors.

Good luck!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 03:01:28 2024 UTC