Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23904

Build fails (again!) on systems with OpenSSL in non-standard location

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0.0beta1, 7.0 (plan)
    • 7.0 (plan)
    • None
    • None
    • Sprint candidates
    • 0.5

      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.

            askolmeisters Armands Arseniuss Skolmeisters
            Kalimulin Alex Kalimulin
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: