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

libssh2 version dependency and specified path ignored

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0 (alpha)
    • Fix Version/s: 1.8.2, 1.9.0 (alpha)
    • Component/s: Installation (I)
    • Labels:
      None
    • Environment:
      Red Hat Enterprise Linux 5

      Description

      RHEL5 linux RPMs only have libssh2 v0.17 available. This version appears to be too old to build zabbix with libssh2 support.
      Zabbix should check the libssh2 version in the configure script to provide a more useful error.

      checks_ssh.c: In function 'waitsocket':
      checks_ssh.c:64: error: 'LIBSSH2_SESSION_BLOCK_INBOUND' undeclared (first use in this function)
      checks_ssh.c:64: error: (Each undeclared identifier is reported only once
      checks_ssh.c:64: error: for each function it appears in.)
      checks_ssh.c:67: error: 'LIBSSH2_SESSION_BLOCK_OUTBOUND' undeclared (first use in this function)

      Also, the configure option --with-ssh2=/path/to/new/ssh2 appears to ignore the PATH portion of the option. A manual fix
      to the configure script is shown in the forum: http://www.zabbix.com/forum/showthread.php?t=14536

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kmradke Kevin Radke
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: