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 <noreply@anthropic.com>
This commit is contained in:
brad ArantandClaude Sonnet 5 committed 2026-09-08 21:32:48 -07:00
1 parent d0f2551e89
commit 9d965bfd1a
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ done
wait wait
echo -n "Building executable jet-2.0..." 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' ] if [ $? = '0' ]
then then
echo "OK" echo "OK"