VBA-tools / VBA-JSON

JSON conversion and parsing for VBA
MIT License
1.79k stars 573 forks source link

declarations for /usr/lib/libc.dylib no longer working on Big Sur #180

Open JamieG-UK opened 3 years ago

JamieG-UK commented 3 years ago

I've been digging around in this and it looks like the libc.dylib alias is not present on OSX11. I've read that libstdc++ is deprecated (even if it works on Catalina) and that libc++ should be used instead in the Xcode 10 release notes although I can't see any reference to libc++ in the Xcode 11 release notes.

jameshol commented 3 years ago

Have you found a work around? I'm pretty sure this is the issue I'm having on Big Sur. I'll know more in the morning.

JamieG-UK commented 3 years ago

Have you found a work around? I'm pretty sure this is the issue I'm having on Big Sur. I'll know more in the morning.

I did James, just 10 days ago! I changed it to reference "/usr/lib/libc++.dylib" (also an alias) but my VBA function to check that this dependency existed was failing since Big Sur. I then learned that the library is still available via API calls but that macOS now ships with a built-in dynamic linker cache of all system-provided libraries that prevents its detection on the file system. So I just removed my file system dependency check and the JSON library now works again. Reference: search for item 62986286 in this Apple release notes article.