diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-03-25 15:30:57 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-04-21 14:51:49 +0200 |
commit | 15420eb0a2c5b3ba248068e33b5464c3f7d2e752 (patch) | |
tree | 3198112ef565d4aee7d51267a12faf84519678e5 | |
parent | e304f04932304f896ca3f95f499217496334ec83 (diff) | |
download | NetworkManager-15420eb0a2c5b3ba248068e33b5464c3f7d2e752.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
(cherry picked from commit d767fb160c36bd9dc339e343ebac58274204ad4f)
-rw-r--r-- | src/platform/nm-linux-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index cf2164d748..0f8b80d197 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -113,7 +113,7 @@ _nl_get_vtable () 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"); |