dlopen is located in libdl.a but when I link my application against libdl.a , gcc linker throw this error : unknow reference to __dl
dlopen
libdl.a
unknow reference to __dl
You should be able to use the shared library libdl.so with
libdl.so
gcc -ldl ...
if you don't have a strong requirement on using the static version.