From 0cc3f8205e2608faaa29db866f022b3badaaba93 Mon Sep 17 00:00:00 2001 From: int 80h Date: Fri, 15 May 2020 16:59:04 -0400 Subject: [PATCH] Added NetBSD instructions --- README | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README b/README index 6b71939..24b3725 100644 --- a/README +++ b/README @@ -17,8 +17,19 @@ A gemini server written in rust. - Modify the config.toml to your needs - Run './target/release/gemserv config.toml' -## Create server key/cert pairs +### NetBSD +If running on NetBSD you'll need to set the environmental variable OPENSSL_DIR +before compiling. +'export OPENSSL_DIR="/usr/pkg"' + +Also to run you'll need to symlink libssl, and libcrypt to "/usr/lib" by +running: + +'ln -s /usr/pkg/lib/libssl.so.1.1 /usr/lib' +'ln -s /usr/pkg/lib/libcrypt.so.1.1 /usr/lib' + +Thanks to tiwesdaeg for figuring it out. ## CGI Environments