I currently use dlopen native function to open a native lib (so file).
handle = dlopen(libPath, RTLD_LAZY);
I use a full path to the library.