From:             gbaratto at superb dot net
Operating system: freebsd 4.8
PHP version:      4.3.2
PHP Bug Type:     Compile Failure
Bug description:  core dump installing pear

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.
-------

-- 
Edit bug report at http://bugs.php.net/?id=24610&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24610&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24610&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24610&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24610&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24610&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24610&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24610&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24610&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24610&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24610&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24610&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24610&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24610&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24610&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24610&r=gnused

Reply via email to