[vpn-help] Any ideas what causes this?

Matthew Grooms mgrooms at shrew.net
Mon Apr 19 22:47:59 CDT 2010


On 4/1/2010 9:50 AM, jcd wrote:
> Unbuntu 9.10 openssl 0.9.8n OR 1.0.0
> Linking CXX executable iked
> /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libcrypto.a(dso_dlfcn.o):
> In function `dlfcn_bind_func':
> dso_dlfcn.c:(.text+0x321): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x400): undefined reference to `dlerror'
> /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libcrypto.a(dso_dlfcn.o):
> In function `dlfcn_bind_var':
> dso_dlfcn.c:(.text+0x481): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x560): undefined reference to `dlerror'
> /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libcrypto.a(dso_dlfcn.o):
> In function `dlfcn_unload':
> dso_dlfcn.c:(.text+0x5c5): undefined reference to `dlclose'
> /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libcrypto.a(dso_dlfcn.o):
> In function `dlfcn_load':
> dso_dlfcn.c:(.text+0x6a7): undefined reference to `dlopen'
> dso_dlfcn.c:(.text+0x71e): undefined reference to `dlclose'
> dso_dlfcn.c:(.text+0x765): undefined reference to `dlerror'
> collect2: ld returned 1 exit status
> make[2]: *** [source/iked/iked] Error 1
> make[1]: *** [source/iked/CMakeFiles/iked.dir/all] Error 2
> make: *** [all] Error 2
>

Not off the top of my head. The only thing that looks peculiar is that 
you are trying to link to a static library. Is there not a libcrypto.so 
file to link against in your /usr/lib directory?

-Matthew



More information about the vpn-help mailing list