From: macintosh at mathiesen dot info
Operating system: Mac OS X 10.5.1
PHP version: 5.2.5
PHP Bug Type: Compile Failure
Bug description: --with-openssl and --with-apxs2 conflicts
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 bug report at http://bugs.php.net/?id=43391&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43391&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43391&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43391&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43391&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43391&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43391&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43391&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43391&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43391&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43391&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43391&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43391&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43391&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43391&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43391&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43391&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43391&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43391&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43391&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43391&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43391&r=mysqlcfg