Hi:

This is for Ubuntu Linux.

Best Regards,

-G

On 10/9/11, Gyanendra Kumar <gya...@gmail.com> wrote:
> Hi:
>
> I am compiling an example program and I get the following link error.
> Please help:
>
> human@human-DQ177A-ABA-A450N:~/Downloads/openssl-examples-20020110$ make
> gcc wclient.o client.o common.o  -o wclient
> -L/home/human/Downloads/openssl-1.0.0e  -lssl -lcrypto
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_globallookup':
> dso_dlfcn.c:(.text+0x1c): undefined reference to `dlopen'
> dso_dlfcn.c:(.text+0x32): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x3c): undefined reference to `dlclose'
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_pathbyaddr':
> dso_dlfcn.c:(.text+0x70): undefined reference to `dladdr'
> dso_dlfcn.c:(.text+0xc1): undefined reference to `dlerror'
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_bind_func':
> dso_dlfcn.c:(.text+0x38d): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x40d): undefined reference to `dlerror'
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_bind_var':
> dso_dlfcn.c:(.text+0x48d): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x50d): undefined reference to `dlerror'
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_unload':
> dso_dlfcn.c:(.text+0x56e): undefined reference to `dlclose'
> /home/human/Downloads/openssl-1.0.0e/libcrypto.a(dso_dlfcn.o): In
> function `dlfcn_load':
> dso_dlfcn.c:(.text+0x615): undefined reference to `dlopen'
> dso_dlfcn.c:(.text+0x67a): undefined reference to `dlclose'
> dso_dlfcn.c:(.text+0x6a4): undefined reference to `dlerror'
> collect2: ld returned 1 exit status
> make: *** [wclient] Error 1
>
> Best Regards,
>
> -G
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to