checking for OpenSSL directory... configure: error: Could not find working
OpenSSL library, please install or check config.log
Now if I go and check the config.log file I have this as error.
This is for solaris 2.6/2.7OS
configure:4354: checking for OpenSSL directory
configure:4411: gcc -o conftest -g -O2 -Wall -I/usr/local/include
-I/usr/local/ssl/
include -I/opt/TWWfsw/zlib11/include -L/usr/local/lib -R/usr/local/lib
-L/usr/lib -
R/usr/lib -L/opt/TWWfsw/zlib11/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib
conftes
t.c -lz -lsocket -lnsl -lgen -lcrypto 1>&5
Undefined first referenced
symbol in file
dlclose
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (sy
mbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlsym
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (sy
mbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlopen
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (sy
mbol belongs to implicit dependency /usr/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 4397 "configure"
#include "confdefs.h"
#include <string.h>
#include <openssl/rand.h>
int main(void)
{
char a[2048];
memset(a, 0, sizeof(a));
RAND_add(a, sizeof(a), sizeof(a));
return(RAND_status() <= 0);
}
Now, I wanted to try on the linux. And I get this error when loading the
linux portable code (taken from openssh.com's linux ).
What is the link error here. Has anyone had this problem.
configure:4385: checking for OpenSSL directory
configure:4442: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wno-uninitialized
-I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib
-L/usr/local/ss
l/lib conftest.c -lz -lnsl -lutil -lcrypto 1>&5
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x8e): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xa4): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x1d2): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x283): undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x353): undefined reference to `dlsym'
configure: failed program was:
#line 4428 "configure"
#include "confdefs.h"
Any help would be appreciated
Regards,
Satish
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010719/f0d08824/attachment.html