#43391 [Opn->Fbk]: --with-openssl and --with-apxs2 conflicts
| From: | jani@php.net | Date: | Sun, 25 Nov 2007 17:29:43 +0000 |
| Subject: | #43391 [Opn->Fbk]: --with-openssl and --with-apxs2 conflicts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120039@lists.php.net to get a copy of this message | ||
ID: 43391
Updated by: jani@php.net
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:
Well, obviously the update of MacOSX broke this. (and not only PHP, lot
of other stuff too..)
Previous Comments:
------------------------------------------------------------------------
[2007-11-24 15:47:44] macintosh at mathiesen dot info
I'm actually using the same configure settings for both PHP5 and
Apache2 as I was using under Mac OS X 10.4.x ; and I had no problems
like this then.
------------------------------------------------------------------------
[2007-11-24 15:40:35] macintosh at mathiesen dot info
Yes - but they seem to have some issues with mod_ssl & Apache2.
My version of Apache2 has successfully been built with and subsequently
loaded mod_ssl according to httpd -M
I'll try building Apache2 without support for ssl and see what happens
and at the same time enter into correspondance with the macports people.
------------------------------------------------------------------------
[2007-11-24 12:06:55] jani@php.net
This might be helpful:
http://blog.phpdoc.info/archives/83-php-5.2.5-on-Leopard.html#extended
As shown, it's possible to build PHP on Leopard. :)
------------------------------------------------------------------------
[2007-11-24 12:04:40] jani@php.net
Wild guess: You have multiple openssl header files in your filesystem
which conflict. Or libs..
------------------------------------------------------------------------
[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