comparison vamp-sdk/hostext/PluginLoader.cpp @ 161:7fc1041daa9d

* Revert pragmas and RTLD_GLOBAL -- we think we can fix the underlying problem in vampy instead
author cannam
date Mon, 07 Jul 2008 17:17:11 +0000
parents a6cfe3d9f752
children
comparison
equal deleted inserted replaced
160:e841e2365b48 161:7fc1041daa9d
515 if (!handle) { 515 if (!handle) {
516 cerr << "Vamp::HostExt::PluginLoader: Unable to load library \"" 516 cerr << "Vamp::HostExt::PluginLoader: Unable to load library \""
517 << path << "\"" << endl; 517 << path << "\"" << endl;
518 } 518 }
519 #else 519 #else
520 handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_GLOBAL); 520 handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_LOCAL);
521 if (!handle) { 521 if (!handle) {
522 cerr << "Vamp::HostExt::PluginLoader: Unable to load library \"" 522 cerr << "Vamp::HostExt::PluginLoader: Unable to load library \""
523 << path << "\": " << dlerror() << endl; 523 << path << "\": " << dlerror() << endl;
524 } 524 }
525 #endif 525 #endif