When compiling anything you get the following error or something similar.
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xb4): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b3): undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x263): undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x352): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [tincd] Error 1
Solution:
Add the following into the Makefile.
Try appending "-ldl" to LDFLAGS