Because of the erroneous space after the colon, this configure test was actually trying to operate on the file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib. This must have silently worked before because that file did exist, but as of macOS Big Sur, that and all other system dylibs no longer exist in the filesystem. (They only exist in what Apple calls the dylib cache.)
Use correct syntax for the
-dylib_file
flag (no space after colon). Fixes configure failure on macOS Big Sur and later:config.log contains:
Because of the erroneous space after the colon, this configure test was actually trying to operate on the file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib. This must have silently worked before because that file did exist, but as of macOS Big Sur, that and all other system dylibs no longer exist in the filesystem. (They only exist in what Apple calls the dylib cache.)