$ bash-2.05# ./configure --prefix=/var/qmail --sysconfdir=/var/qmail/control --localstatedir=/var/log/qmail --with-openssl-lib=/usr/local/lib --with-openssl-include=/usr/local/include/openssl
bash-2.05# grep ssl config.log
$ ./configure --prefix=/var/qmail --sysconfdir=/var/qmail/control --localstatedir=/var/log/qmail --with-openssl-lib=/usr/local/lib --with-openssl-include=/usr/local/include/openssl
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -Lfound -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/usr/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/usr/local/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/usr/local/ssl/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/usr/local/openssl/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/opt/ssl/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8196: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl -L/opt/openssl/lib -L/usr/local/lib -lssl -lcrypto -lsocket conftest.cc >&5
| #include <openssl/ssl.h>
configure:8221: error: Unable to find the ssl library which is part of OpenSSL. You want want to look up the FAQ to learn more about this requirement and how to deal with it. Or run configure with --without-ssl.
CXXFLAGS='-g -O2 -Wall -fno-exceptions -O2 -I/usr/local/include/openssl'
LDFLAGS='-L/opt/openssl/lib -L/usr/local/lib -lssl -lcrypto -lsocket'
On Thu, 19 Feb 2004 14:28:27 +0100 (CET), Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:
On Thu, 19 Feb 2004, Adam Henson wrote:The -lnsl didnt work but -lsocket did. I now have an a.out file. Do I now
have to change something in configure ?
Line 8183: export LDFLAGS="-L$k $LDTMP -lssl -lcrypto"
replace with export LDFLAGS="-L$k $LDTMP -lssl -lcrypto -lsocket"
then, on line 8213: LIBSSL="-L$k -lssl -lcrypto"; echo "$as_me:$LINENO: result: $k" >&5
replace with
LIBSSL="-L$k -lssl -lcrypto -lsocket"; echo "$as_me:$LINENO: result: $k" >&5
Rerun configure, see what happens. :-)
Andy
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
