dyld: Symbol not found macOS Origin: Platform & cloud OSI layer 7 · Application Last updated 5 Nov 2026

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.

Exact message you may see 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_$_
Seen on: macOS

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

  1. Update macOS or install a compatible version
  2. Rebuild with MACOSX_DEPLOYMENT_TARGET=12.0
  3. brew reinstall --build-from-source PACKAGE

Detailed fix by platform

macOS

  1. sw_vers and otool -l binary | grep -A3 LC_BUILD_VERSION

How to diagnose

  1. OS — Running vs required?
  2. Target — Deployment version?
  3. 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:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

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) (macOS)dyld: Library not loa…error while loading shared libraries — error while loading shared libraries: libX.so.N: cannot open shared object file: No such file or directory (Linux)error while loading s…GLIBC_2.xx not found — /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (Linux)GLIBC_2.xx not foundHomebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It see…Homebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availabl…ld: library not found for -lssl — macOS: ld: library 'ssl' not found / ld: library not found for -lssl (clang: error: linker command failed) (macOS)ld: library not found…mach-o file, but is an incompatible architecture — macOS: dlopen: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64') (macOS)mach-o file, but is a…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line Too…dyld: Sym…

Explore the map of this error Full error map →

🧠 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.