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:
@@ -128,7 +128,7 @@ _nl_get_vtable (void)
|
|||||||
if (G_UNLIKELY (!vtable.f_nl_has_capability)) {
|
if (G_UNLIKELY (!vtable.f_nl_has_capability)) {
|
||||||
void *handle;
|
void *handle;
|
||||||
|
|
||||||
handle = dlopen ("libnl-3.so", RTLD_LAZY | RTLD_NOLOAD);
|
handle = dlopen ("libnl-3.so.200", RTLD_LAZY | RTLD_NOLOAD);
|
||||||
if (handle) {
|
if (handle) {
|
||||||
vtable.handle = handle;
|
vtable.handle = handle;
|
||||||
vtable.f_nl_has_capability = dlsym (handle, "nl_has_capability");
|
vtable.f_nl_has_capability = dlsym (handle, "nl_has_capability");
|
||||||
|
Reference in New Issue
Block a user