-fsanitize=thread hijacks dlopen() and dlclose(), therefore dlopen() won't request -ldl to be used for linking during Autoconf test. Check for dlsym() presence will fail and dlzexternal and dyndb system tests won't run.
-fsanitize=thread
dlopen()
dlclose()
-ldl
dlsym()
dlzexternal
dyndb
Retrieved from 2dd54fa6.