[ZBX-23904] Build fails (again!) on systems with OpenSSL in non-standard location Created: 2024 Jan 02  Updated: 2024 Apr 10  Resolved: 2024 Jan 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 7.0 (plan)
Fix Version/s: 7.0.0beta1, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Alex Kalimulin Assignee: Armands Arseniuss Skolmeisters
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team C
Sprint: Sprint candidates
Story Points: 0.5

 Description   

The problem fixed in ZBX-22314 resurfaces in other libraries

Steps to reproduce:

Same as in ZBX-22314, run ./configure:

./configure --enable-server --enable-proxy --enable-agent ..... --with-openssl=/opt/homebrew/Cellar/openssl@3/3.1.4

Result:

In file included from checks_agent.c:20:
In file included from ../../../include/zbxpoller.h:23:
In file included from ../../../include/zbxcacheconfig.h:24:
../../../include/zbxcomms.h:162:11: fatal error: 'openssl/ssl.h' file not found
#       include <openssl/ssl.h>

Expected:

Successful build.

Analysis:

Makefile.am for all libraries whose sources include openssl.h must include $(TLS_CFLAGS). Examples of the libraries without TLS_CFLAGS: zbxevent, zbxpoller. Perhaps, there are others.



 Comments   
Comment by Armands Arseniuss Skolmeisters [ 2024 Jan 22 ]

Available in versions:

Generated at Sun Apr 20 20:42:15 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.