Ad Widget

Collapse

Extra library required to install Zabbix 5 alpha 2 on Centos 8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ulinx
    Junior Member
    • Feb 2020
    • 9

    #1

    Extra library required to install Zabbix 5 alpha 2 on Centos 8

    Hi recently I found/reported issues preventing Zabbix 5 alpha 2 to successfully run on Centos 7 see this post [1]. Today I tried Centos 8 and found that installation requires library libssh2 on step 2b

    b. Install Zabbix server, frontend, agent

    # yum install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent

    This library is not part of the official Centos 8 repository, I download it from [2] I took the one for Centos 7 64 bits, and after I installed it all the rest of the steps worked fine as expected.
    I think that either one installation step is missing on the instructions or the dependency check of the Zabbix 5 alpha 2 installation is broken asking for a non existent package.

    Any input or fix in the documentation will the appreciated



    [1] https://www.zabbix.com/forum/zabbix-...-2-on-centos-7
    [2] http://rpmfind.net/linux/rpm2html/se...m=centos&arch=
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Thanks for pointing this out, too. I've appreciated the info you've posted about your tests of Zabbix 5 alpha.

    Red Hat is specifically moving away from any support of libssh2, in favor of libssh. Red Hat's documentation implies that libssh is bettter maintained. This is covered in section 8.2 of the Considerations in Adopting RHEL 8 document.

    I know they're not ABI compatible, but if the APIs are close, perhaps Zabbix will eventually support libssh -- especially if Red Hat's assertion that "it's better" is actually true. For now, seems like we're going to have to use one from an external source.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Zabbix 5.0.0alpha2 incorporates a source fix for libssh. This can be supported by changing the option for configure when compiling from --with-ssh2 to --with-ssh.
      When building a package, you can generate libssh-based binaries by setting dependencies in the spec file.

      I expect that a switch to libssh will be released in a future release. That way, I can build on CentOS 8 myself.

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #4
        That's excellent news, thanks for sharing it Atsushi!

        Comment

        Working...