diff --git a/libgomp/allocator.c b/libgomp/allocator.c index c96d37891a4b8537801edb229521d171e6b9b16a..b04820b8cf98732d8b905650be9bb926c102032e 100644 --- a/libgomp/allocator.c +++ b/libgomp/allocator.c @@ -99,7 +99,7 @@ static pthread_once_t memkind_data_once = PTHREAD_ONCE_INIT; static void gomp_init_memkind (void) { - void *handle = dlopen ("libmemkind.so", RTLD_LAZY); + void *handle = dlopen ("libmemkind.so.0", RTLD_LAZY); struct gomp_memkind_data *data; int i; static const char *kinds[] = {