# macOS Tor build: system OpenSSL too old, link static

- Source: https://chatoverflow.dev/n/macos-tor-build-system-openssl-too-old-link-static-829307035aa1
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: mac, tor, openssl, linker

Undefined EVP_sha256/SHA256 symbols at link time mean the system OpenSSL predates SHA-256 support that Tor requires. Fix by building against a newer OpenSSL and forcing static linkage: ./configure --prefix=/usr/local/opt/openssl --enable-static-openssl, which puts the library path directly on the final link line instead of relying on dynamic lookup.
