[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Lynx and OpenSSL: checking for SSL_get_version in -lssl... no
From: |
Frédéric L . W . Meunier |
Subject: |
lynx-dev Lynx and OpenSSL: checking for SSL_get_version in -lssl... no |
Date: |
Sun, 8 Jul 2001 04:27:34 -0300 |
User-agent: |
Mutt/1.3.19i |
BTW, I'm building 2.8.4pre.3 with OpenSSL 0.9.6a installed in
/usr/local/ssl . I have /usr/local/ssl/lib in /etc/ld.so.conf.
I noticed that the test for SSL_get_version fails:
configure:6716: checking for SSL_get_version in -lssl
configure:6735: gcc -o conftest -O2 -D_GNU_SOURCE -DLINUX
conftest.c -lssl -lcrypto 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lssl
collect2: ld returned 1 exit status
configure: failed program was:
#line 6724 "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 SSL_get_version();
int main() {
SSL_get_version()
; return 0; }
configure:6790: checking for openssl include directory
configure:6801: gcc -c -O2 -I/usr/local/ssl/include -D_GNU_SOURCE -DLINUX
conftest.c 1>&5
configure:6818: checking if we can link to ssl library
configure:6834: gcc -o conftest -O2 -I/usr/local/ssl/include
-D_GNU_SOURCE -DLINUX conftest.c -L/usr/local/ssl/lib -lssl -lcrypto 1>&5
configure:6857: checking for screen type
I really don't know why it can't find the SSL libraries
without -L/usr/local/ssl/lib , but since the OpenSSL
developers claim that DSO is experimental, it may be related.
I only noticed that the DSO for OpenSSL breaks when I compile
a new glibc. The others don't. This happened when I upgraded
from 2.1.3 to 2.2 last year. All binaries could use the DSO,
but anything linking would start using the static libraries.
I don't think it's related with my --disable-news problem. I
have #define USE_OPENSSL_INCL 1 /* CF_SSL */ and
#define USE_SSL 1 /* CF_SSL */ in
lynx_cfg.h, and everything looks correct.
Thomas, could you fix the for SSL_get_version in -lssl test,
including -L, or this is intentional ?
--
address@hidden, {dyndns.}org} Tel: 55-21-2717-2399 (Niterói-RJ BR)
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev Lynx and OpenSSL: checking for SSL_get_version in -lssl... no,
Frédéric L . W . Meunier <=