ID: 43391
Updated by: [EMAIL PROTECTED]
Reported By: macintosh at mathiesen dot info
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Mac OS X 10.5.1
PHP Version: 5.2.5
New Comment:
Wild guess: You have multiple openssl header files in your filesystem
which conflict. Or libs..
Previous Comments:
------------------------------------------------------------------------
[2007-11-23 15:26:30] macintosh at mathiesen dot info
Description:
------------
these works:
./configure --prefix=/Library/PHP5 --with-openssl=/usr
./configure \
--prefix=/Library/PHP5 \
--with-openssl=/macports \
--with-openssl-dir=/macports \
--with-iconv=/macports
and these works:
./configure --prefix=/Library/PHP5 --with-apxs2=/usr/sbin/apxs
./configure --prefix=/Library/PHP5
--with-apxs2=/Library/Apache2/bin/apxs
but these fails:
./configure \
--prefix=/Library/PHP5 \
--with-openssl=/macports \
--with-openssl-dir=/macports \
--with-iconv=/macports \
--with-apxs2=/Library/Apache2/bin/apxs
./configure \
--prefix=/Library/PHP5 \
--with-openssl=/usr \
--with-apxs2=/usr/sbin/apxs
always resulting in this:
-o libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so
Undefined symbols:
"_EVP_CIPHER_CTX_block_size", referenced from:
_zif_openssl_seal in openssl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
I'm getting this on both:
- a PPC TiBook
- an Intel iMac
with the following versions of PHP:
- 5.2.4 , 5.2.5 , CVS 200711191530
and both with the libraries as supplied with the stock version of Mac
OS X 10.5 as well as with the libraries from macports and my own
compiled Apache2.
I've searched high and low in mail lists, forums and bug databases
without finding anything like this. However, a japanese guy has had the
exact same issue:
http://d.hatena.ne.jp/heavenshell/20071114
http://translate.google.com/translate?hl=en&sl=ja&u=http://d.hatena.ne.jp/heavenshell/20071114&sa=X&oi=translate
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43391&edit=1