openssl 3.x problems on arch linux

22 views
Skip to first unread message

Erich Eckner

unread,
Nov 18, 2022, 5:48:00 PM11/18/22
to bareos-users
Hi,

I'm trying to compile bareos on arch. This worked in the past, but since
arch switched to openssl 3.x from openssl 1.x, bareos fails to compile due
to using deprecated functions:

HMAC_CTX_new, HMAC_Init_ex, HMAC_Update, HMAC_Final, SHA256_Init,
SHA256_Update, SHA256_Final

I was also trying to tell cmake to use openssl-1.1 which is provided on
arch in /usr/include/openssl-1.1/openssl and /usr/lib/openssl-1.1, but I
fail to give cmake the proper configuration.

Can anyone please point me either at some branch or patch, that makes
bareos compile with openssl 3.x, or enlighten me on how to tell cmake to
search for libcrypto.so in a non-default location?

regards,
Erich
Reply all
Reply to author
Forward
0 new messages