|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-03 02:21 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 21:00:02 2025 UTC |
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!