macOS: dyld: Symbol not found: _SecTrustCopyCertificateChain — Expected in: /System/Library/Frameworks/Security.framework
A program was built for a newer macOS (or different library version) than the one running, so a function it needs isn't there.
dyld: Symbol not found: _SecTrustCopyCertificateChaindyld[123]: Symbol not found:Symbol not found: Referenced from Expected in:dyld: Symbol not found: __ZNSt3__Symbol not found: _OBJC_CLASS_$_ Meaning
The app targets a newer SDK/OS. Update macOS, install a build for your OS version, or rebuild with a lower deployment target (MACOSX_DEPLOYMENT_TARGET). For Homebrew bottles, brew upgrade or rebuild from source with --build-from-source.
Common causes
- Binary built on newer macOS than the running one
- Library version mismatch after partial upgrade
- Wrong deployment target
- Homebrew bottle for newer OS
- Stale prebuilt wheels/modules
⚡ Quick fix
- Update macOS or install a compatible version
- Rebuild with
MACOSX_DEPLOYMENT_TARGET=12.0 brew reinstall --build-from-source PACKAGE
Detailed fix by platform
macOS
sw_versandotool -l binary | grep -A3 LC_BUILD_VERSION
How to diagnose
- OS — Running vs required?
- Target — Deployment version?
- Source — Rebuild possible?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- dyld: Library not loaded macOS: dyld[123]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib — Reason: tried: ... (no such file)
- error while loading shared libraries error while loading shared libraries: libX.so.N: cannot open shared object file: No such file or directory
- GLIBC_2.xx not found /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
Most viewed in macOS
- is damaged and can’t be opened macOS: “App” is damaged and can’t be opened. You should move it to the Trash.
- Operation not permitted (macOS privacy) macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)
- zsh: command not found: brew macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 5 Nov 2026