On Tue, Feb 27, 2001 at 12:05:36PM +0100, [EMAIL PROTECTED] wrote:
> wwwlib examples don't work with https, all i found was this:
> http://www.w3.org/Library/src/SSL/WWWSSL.html
> ( Because US regulations on encryption .. )
> 
> i'd be really happy if someone just told me how to fix OpenSSL demos/bio
> example:
> 
> cc -I../../include sconnect.c -L../.. -lssl -lcrypto
> 
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
> dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'
> dso_dlfcn.o(.text+0xa8): undefined reference to `dlopen'
> dso_dlfcn.o(.text+0xfd): undefined reference to `dlclose'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
> dso_dlfcn.o(.text+0x1a3): undefined reference to `dlsym'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
> dso_dlfcn.o(.text+0x253): undefined reference to `dlsym'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
> dso_dlfcn.o(.text+0x332): undefined reference to `dlclose'

These symbols are in libdl, so you need to add "-ldl" to the end of
the link line, like this:

  cc -I../../include sconnect.c -L../.. -lssl -lcrypto -ldl

Cheers,

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

Reply via email to