Bug #14919: PHP errors all over the place!
| From: | morganh at angelfire dot com | Date: | Mon, 07 Jan 2002 21:44:00 +0000 |
| Subject: | Bug #14919: PHP errors all over the place! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76217@lists.php.net to get a copy of this message | ||
From: morganh@angelfire.com
Operating system: freebsd 4.4
PHP version: 4.1.1
PHP Bug Type: *General Issues
Bug description: PHP errors all over the place!
with php 4.1.1, i installed with the following options ->
mysql - postgres - xml - domxml - ftp - curl - openssl - gettext -
sockets
installed great. then i try to use curl over https and it tells me:
SSL: Couldn't create a context!
so i look in the bug database and find a few things telling me that in
older versions, configuring php without openssl would fix things up for me.
so i tried that, with all the same options as above but without openssl,
but php will not install without the openssl option. here's the error plus
the bunch of lines before it:
----------------------------------------
configure:22804: checking for bindtextdomain in -lintl
configure:22823: cc -o conftest -O -pipe -I/usr/local/include
-DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin"
-DACCEPT_FILTER_NAME="httpready" -DUSE_EXPAT -R/usr/local/lib
-L/usr/local/lib -L/usr/local/lib conftest.c -lintl -lz -lxml2 -lcurl
-lcrypto -lssl -lcurl -lz -lcrypt -lm -lcrypt 1>&5
/usr/local/lib/libssl.a(ssl_algs.o): In function `SSL_library_init':
ssl_algs.o(.text+0x34): undefined reference to `EVP_idea_cbc'
configure: failed program was:
#line 22812 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char bindtextdomain();
int main() {
bindtextdomain()
; return 0; }
configure:22843: checking for bindtextdomain in -lc
configure:22862: cc -o conftest -O -pipe -I/usr/local/include
-DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin"
-DACCEPT_FILTER_NAME="httpready" -DUSE_EXPAT -R/usr/local/lib
-L/usr/local/lib -L/usr/local/lib conftest.c -lc -lz -lxml2 -lcurl
-lcrypto -lssl -lcurl -lz -lcrypt -lm -lcrypt 1>&5
/tmp/ccZh5V5u.o: In function `main':
/tmp/ccZh5V5u.o(.text+0x7): undefined reference to `bindtextdomain'
/usr/local/lib/libssl.a(ssl_algs.o): In function `SSL_library_init':
ssl_algs.o(.text+0x34): undefined reference to `EVP_idea_cbc'
configure: failed program was:
#line 22851 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
char bindtextdomain();
int main() {
bindtextdomain()
; return 0; }
(end of "config.log")
*** Error code 1
Stop in /usr/ports/www/mod_php4.
*** Error code 1
Stop in /usr/ports/www/mod_php4.
----------------------------------
summary: when i install with openssl i get error:
SSL: couldn't create a context
and i cannot install without openssl. please help me!
--
Edit bug report at: http://bugs.php.net/?id=14919&edit=1