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
This commit is contained in:
Jiří Klimeš
2015-03-25 15:30:57 +01:00
parent a928ff860f
commit d767fb160c

View File

@@ -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");