# HG changeset patch # User Chris Cannam # Date 1215451069 0 # Node ID 824a87450f816eb8253e7375ee59f72b3d0b0e28 # Parent 5a13b76cd03445a78e114d7401dcd9b21c552f7a * Revert to RTLD_LOCAL (we think problem is better fixed in Vampy) diff -r 5a13b76cd034 -r 824a87450f81 plugin/FeatureExtractionPluginFactory.cpp --- a/plugin/FeatureExtractionPluginFactory.cpp Wed Jul 02 13:31:37 2008 +0000 +++ b/plugin/FeatureExtractionPluginFactory.cpp Mon Jul 07 17:17:49 2008 +0000 @@ -133,7 +133,7 @@ std::cerr << "FeatureExtractionPluginFactory::getPluginIdentifiers: trying potential library " << soname.toStdString() << std::endl; #endif - void *libraryHandle = DLOPEN(soname, RTLD_LAZY | RTLD_GLOBAL); + void *libraryHandle = DLOPEN(soname, RTLD_LAZY | RTLD_LOCAL); if (!libraryHandle) { std::cerr << "WARNING: FeatureExtractionPluginFactory::getPluginIdentifiers: Failed to load library " << soname.toStdString() << ": " << DLERROR() << std::endl; @@ -331,7 +331,7 @@ soname = found; - void *libraryHandle = DLOPEN(soname, RTLD_LAZY | RTLD_GLOBAL); + void *libraryHandle = DLOPEN(soname, RTLD_LAZY | RTLD_LOCAL); if (!libraryHandle) { std::cerr << "FeatureExtractionPluginFactory::instantiatePlugin: Failed to load library " << soname.toStdString() << ": " << DLERROR() << std::endl;