building with nativepkcs11 and without dlopen results in a linker failure
./configure --with-pkcs11=/usr/include/softhsm/ --enable-native-pkcs11=yes --with-dlopen=no --enable-developer
I think this should result in a configure error, and I am not sure about the interactions of dlopen with everything else.
the error reported after make is ran is:
/usr/bin/ld: ../../isc/libisc.a(pk11_api.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status