Peter Barganski wrote:
[cut]
> configure:6797: checking test program
> configure:6806: gcc -o conftest -I/usr/local/ssl/include
>
> -L/usr/local/ssl/lib conftest.c -lssl -lcrypto -lz -lresolv -lgen
> -lnsl
>
> -lsocket -ldl -lm -lreadline -ltermcap 1>&5
> configure: failed program was:
> #line 6802 "configure"
> #include "confdefs.h"
> int main() { return 0; }
A (not so) wild guess would be gcc having trouble finding some of your
libraries. However, to see what's really going wrong I suggest you do
the following:
a) Create a file mytest.c consisting of:
int main() { return 0; }
b) $ gcc -o mytest mytest.c -I/usr/local/ssl/include
-L/usr/local/ssl/lib -lssl -lcrypto -lz -lresolv -lgen -lnsl -lsocket
-ldl -lm -lreadline -ltermcap
c) If that works try
$ ./mytest
$ echo $?
This ought to give you a pointer as to what is going wrong.
---
-- Øyvind Hallsteinsen, HIST AITeL --