--- dln.c.orig 2022-04-12 20:11:15.000000000 +0900 +++ dln.c 2022-06-25 23:48:32.000000000 +0900 @@ -380,7 +380,7 @@ # if defined __APPLE__ && \ defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \ - (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11) + (MAC_OS_X_VERSION_MIN_REQUIRED < 101100) /* dlclose() segfaults */ rb_fatal("%s - %s", incompatible, file); # else