ID: 24610 Updated by: [EMAIL PROTECTED] Reported By: gbaratto at superb dot net -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: freebsd 4.8 PHP Version: 4.3.2 New Comment:
openssl and pfpro don't like each other. Not PHP bug. (report that to the pfpro developers..) Previous Comments: ------------------------------------------------------------------------ [2003-07-11 14:24:07] 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. ------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24610&edit=1