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

Details

    • Problem report
    • Resolution: Fixed
    • Trivial
    • 7.0.0beta1, 7.0 (plan)
    • 7.0 (plan)
    • None
    • None
    • Team C
    • Sprint candidates
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: