After you ran ./config, did you check the output of config to ensure everything is ok?. Problems during config, though specified in output are not easily noticeable. You can check that by rerunning ./config.

-Krithiga

james lankton wrote:
But I suppose my problem still remains?

James
"Krithiga Thangavelu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
Hi DS,

Thanks for your input. It helped me to solve the problem. I added the
path to libdl.so to -L option of cc.

Krithiga

David Schwartz wrote:

Hi All,

I get the following error when I compile the sample program in demos/bio

openssl-engine-0.9.6j> cc -I../../include -L../.. sconnect.c
-lssl -lcrypto

../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x77): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xe3): undefined reference to `dlclose'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b6): undefined reference to `dlsym'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x2a6): undefined reference to `dlsym'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x3a5): undefined reference to `dlclose'
collect2: ld returned 1 exit status

I didn't encounter any errors while invoking make , make test and make
install. Can somebody throw light on the above error?

The first thing you should do when you get an 'undefined reference'
error
is search your libraries to find out which library that is defined in,
and
then link to that library. Probably you need to add '-ldl'. But since you
didn't specify your platform, there's really no way we could know. Did
you
try the man pages for 'dlopen', 'dlclose', and 'dlsym'?

DS


______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]




______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]




Reply via email to