Mercurial > hg > svcore
diff plugin/FeatureExtractionPluginFactory.cpp @ 435:824a87450f81
* Revert to RTLD_LOCAL (we think problem is better fixed in Vampy)
author | Chris Cannam |
---|---|
date | Mon, 07 Jul 2008 17:17:49 +0000 |
parents | 9e1e12d1fbc3 |
children | a70dcfed59c1 |
line wrap: on
line diff
--- 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;