You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msg << "failed to load symbol from shared object handle - plugin_factory"
<< " :: dlerror is [" << err << "]";
dlclose( handle );
returnERROR( PLUGIN_ERROR, msg.str() );
}
rodsLog(LOG_DEBUG, "load_plugin - calling plugin_factory() in [%s]", so_name.c_str());
// =-=-=-=-=-=-=-
// using the factory pointer create the plugin
_plugin = factory( _instance_name, _args... );
if ( !_plugin ) {
std::stringstream msg;
msg << "failed to create plugin object for [" << _plugin_name << "]";
dlclose( handle );
returnERROR( PLUGIN_ERROR, msg.str() );
}
irods_plugin_dependencies must link ${CMAKE_DL_LIBS} publicly to pass down this dependency.
Better yet, the linkage should be moved to the irods_plugin_dependencies_obj target as well.
The text was updated successfully, but these errors were encountered:
irods_plugin_dependencies
links privately to${CMAKE_DL_LIBS}
:irods/lib/core/CMakeLists.txt
Lines 168 to 175 in e4b4e8a
However, the public header
irods_load_plugin.hpp
references symbols from libdl in multiple locations:irods/lib/core/include/irods/irods_load_plugin.hpp
Lines 464 to 502 in e4b4e8a
irods_plugin_dependencies
must link${CMAKE_DL_LIBS}
publicly to pass down this dependency.Better yet, the linkage should be moved to the
irods_plugin_dependencies_obj
target as well.The text was updated successfully, but these errors were encountered: