From faa0f247a5a206ad9e921ee47da8e27a947a0e16 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 15 Jan 2024 07:17:03 +0700 Subject: [PATCH] README: fix install instructions on macOS (#1551) There's no `libssl3.so`, so the existing command sets the environment variable to an empty string. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e44f8534a..31d6ab9e94 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,14 @@ To run test HTTP/3 programs (neqo-client and neqo-server): * `./target/debug/neqo-client http://127.0.0.1:12345/` If a "Failure to load dynamic library" error happens at runtime, do -``` +```shell export LD_LIBRARY_PATH="$(dirname "$(find . -name libssl3.so -print | head -1)")" ``` -On a mac, use `DYLD_LIBRARY_PATH` instead. + +On a macOS, do +```shell +export DYLD_LIBRARY_PATH="$(dirname "$(find . -name libssl3.dylib -print | head -1)")" +``` ## Faster Builds with Separate NSS/NSPR