linux下clion中undefined reference to `dlopen’问题:
只需要在CMakeLists.txt中加入 set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -ldl”) 即可