-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.4.0rc1
-
None
-
Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023)
-
0.25
Steps to reproduce:
- Compile Zabbix on a system with OpenSSL installed in a non-standard location (e.g. macOS) and the OpenSSL headers are not available in default include path
Result:
In file included from scripts.c:20: In file included from ./scripts.h:23: In file included from ../../../include/zbxcacheconfig.h:24: ../../../include/zbxcomms.h:108:11: fatal error: 'openssl/ssl.h' file not found # include <openssl/ssl.h> ^~~~~~~~~~~~~~~ 1 error generated.
Expected:
Successful compilation.
Analysis:
This happens because now zbxcoms.h includes ssl.h and zbxcoms.h is included in many headers. The corresponding makefiles must point to the correct location of OpenSSL includes.
Please see the patch that fixes this problem: tls_includes.patch