php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14919 PHP errors all over the place!
Submitted: 2002-01-07 16:43 UTC Modified: 2002-03-03 02:21 UTC
From: morganh at angelfire dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.1 OS: freebsd 4.4
Private report: No CVE-ID: None
 [2002-01-07 16:43 UTC] morganh at angelfire dot com
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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-03 02:21 UTC] kalowsky@php.net
please 'make distclean' and then rebuild.  
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 21:01:30 2025 UTC