From 9d965bfd1a8d075c4c0ee21223108e888146e6f1 Mon Sep 17 00:00:00 2001 From: brad Arant Date: Tue, 8 Sep 2026 21:32:48 -0700 Subject: [PATCH] Fix jet-2.0 link failure: add missing -lssl The __imap tag (added for the /email webmail client) calls real SSL_CTX_*/SSL_connect() functions, which live in libssl - not libcrypto (a separate, lower-level library providing only crypto primitives). compile only ever linked -lcrypto, so a build from a completely fresh checkout fails at the final link step: __imap.o: undefined reference to symbol 'SSL_CTX_free@@OPENSSL_3.0.0' Reproduced building fresh on a brand-new server (nothing else installed yet) rather than an incremental rebuild against an already-linked jet-2.0, which is presumably why this went unnoticed - barant.com's own production jet-2.0 was likely last linked before __imap needed real SSL session functions, or was patched by hand at the time without this fix landing in the committed script. Co-Authored-By: Claude Sonnet 5 --- compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile b/compile index b3d4356..bc762ff 100755 --- a/compile +++ b/compile @@ -18,7 +18,7 @@ done wait echo -n "Building executable jet-2.0..." -g++ -g -o jet-2.0 $list -std=c++23 -L../CoreUtils -lCoreUtils -lmysqlclient -lcrypto +g++ -g -o jet-2.0 $list -std=c++23 -L../CoreUtils -lCoreUtils -lmysqlclient -lssl -lcrypto if [ $? = '0' ] then echo "OK"