Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nermal

Moderator
Original poster
Staff member
Dec 7, 2002
20,980
4,543
New Zealand
I'm getting some "No such file or directory" errors from one of my apps due to missing files. Can someone tell me whether these files exist in their installation of 11.2?
  • /Library/GPUBundles/AMDRadeonX6000GLDriver.bundle/Contents/MacOS/ATIRadeonX6000SCLib.dylib
  • /System/Library/Extensions/AMDRadeonX6000GLDriver.bundle/Contents/MacOS/ATIRadeonX6000SCLib.dylib
  • /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat
I have SIP enabled and therefore I presume that these are 'missing' on every machine, but I just want to put my mind at ease.
 

Ritsuka

Cancelled
Sep 3, 2006
1,464
969
Wow, that seems a awesome way to create an app that will break after a few updates… why people continue to create such fragile apps…

No, those are not there anymore. macOS 11 has got a new built-in cache of all system provided libraries.
From https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes:

  • New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)
 
  • Like
Reactions: CoastalOR

Nermal

Moderator
Original poster
Staff member
Dec 7, 2002
20,980
4,543
New Zealand
Thanks. I suspected that there was nothing wrong with my installation, but good to have confirmation :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.