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

Configure fails with libssh in a custom location

XMLWordPrintable

    • S24-W50/51/52
    • 0.5

      Steps to reproduce:

      Install latest libssh (0.11). Run configure:

      $ ./configure --enable-server --enable-agent --enable-proxy \
          --enable-ipv6 --with-mysql --with-ssh=/home/alex/libssh ...

      Result:

      configure: error: SSH library version requirement not met (>= 0.6.0)
      

      Expected:

      Successful configuration.

      Analysis:

      Some libssh versions declare LIBSSH_VERSION_MAJOR/LIBSSH_VERSION_MINOR in libssh.h whereas others in libssh_version.h. libssh.m4 checks both places for includes in /usr/include but doesn't do the same in a custom path.

            andris Andris Mednis
            Kalimulin Alex Kalimulin
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2.5h
                2.5h