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

macOS: dyld[123]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib — Reason: tried: ... (no such file)

A program needs a dynamic library that is missing or was moved/removed (often after a Homebrew upgrade).

Exact message you may see dyld: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylibdyld[1234]: Library not loaded: @rpath/dyld: Library not loaded Referenced from Reason: image not founddyld[ ]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.dylibLibrary not loaded Reason: tried: (no such file)
Seen on: macOS

Meaning

The path in the message tells what's missing. Reinstall the dependency (brew install openssl@1.1) or the program itself so it relinks (brew reinstall PACKAGE). Version bumps (openssl, icu4c, readline) frequently break old binaries. otool -L binary lists linked libraries.

Common causes

  • Homebrew upgrade removed an old library version
  • Dependency uninstalled/pruned
  • Intel vs ARM prefix mismatch
  • Binary built against a different install path
  • Broken symlink in /usr/local/opt

⚡ Quick fix

  1. brew reinstall PACKAGE
  2. Install the specific older dependency named in the error
  3. Check links: otool -L $(which program)

Detailed fix by platform

macOS

  1. otool -L $(which program) and brew list --versions openssl@3

How to diagnose

  1. Library — Path in the message?
  2. Cause — Upgrade or removal?
  3. Prefix — Intel or ARM?

🔧 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):

clang: error: unsupported option '-fopenmp' — macOS: clang: error: unsupported option '-fopenmp' (OpenMP with Apple Clang) (macOS)clang: error: unsuppo…dyld: Symbol not found — macOS: dyld: Symbol not found: _SecTrustCopyCertificateChain — Expected in: /System/Library/Frameworks/Security.framework (macOS)dyld: Symbol not founderror 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…dyld: Lib…

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.