Subject: Building wget: ssl problems
To: None <>
From: Hisashi T Fujinaka <>
List: current-users
Date: 03/20/2003 09:44:10
I guess finals really have fried my brain. I'm unable to figure out why
wget isn't finding the ssl libraries. It fails with:

Looking for SSL libraries in /usr
checking for includes... found
checking for RSA_new in -lcrypto... no
checking for SSL_new in -lssl... no
ERROR: Failed to find OpenSSL libraries.

In config.log I also see:

int main() {
; return 0; }
configure:7382: checking for SSL_new in -lssl
configure:7401: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -L/usr/lib /usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c -lssl   -lintl 1>&5
ld:/usr/lib: file format not recognized; treating as linker script
ld:/usr/lib:1: parse error
configure: failed program was:
#line 7390 "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_new();

Thanks for any help!

Hisashi T Fujinaka -
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte