summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-03-25 15:30:57 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-03-30 11:41:17 +0200
commitd767fb160c36bd9dc339e343ebac58274204ad4f (patch)
treed7a81db4d7dca44f70899c5b0d2d6e7b3e793cd9
parenta928ff860fbc3a17e16f8e7ec170650caaeabdde (diff)
downloadNetworkManager-d767fb160c36bd9dc339e343ebac58274204ad4f.tar.gz
platform: load libnl-3.so.200, not libnl-3.so (rh #1205195)
libnl-3.so link is only present in devel package (libnl3-devel). https://bugzilla.redhat.com/show_bug.cgi?id=1205195
-rw-r--r--src/platform/nm-linux-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
index 76a2feb52b..39c38f8343 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -128,7 +128,7 @@ _nl_get_vtable (void)
if (G_UNLIKELY (!vtable.f_nl_has_capability)) {
void *handle;
- handle = dlopen ("libnl-3.so", RTLD_LAZY | RTLD_NOLOAD);
+ handle = dlopen ("libnl-3.so.200", RTLD_LAZY | RTLD_NOLOAD);
if (handle) {
vtable.handle = handle;
vtable.f_nl_has_capability = dlsym (handle, "nl_has_capability");