summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/sys/posix/Shlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/sys/posix/Shlib.cpp')
-rw-r--r--qpid/cpp/src/qpid/sys/posix/Shlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/posix/Shlib.cpp b/qpid/cpp/src/qpid/sys/posix/Shlib.cpp
index 3fb685d5b8..58a2572fb3 100644
--- a/qpid/cpp/src/qpid/sys/posix/Shlib.cpp
+++ b/qpid/cpp/src/qpid/sys/posix/Shlib.cpp
@@ -29,7 +29,7 @@ namespace sys {
void Shlib::load(const char* name) {
::dlerror();
- handle = ::dlopen(name, RTLD_NOW);
+ handle = ::dlopen(name, RTLD_NOW | RTLD_GLOBAL);
const char* error = ::dlerror();
if (error) {
throw Exception(QPID_MSG(error << ": " << name));