Zabbix: libssl.so.10: error adding symbols: DSO missing from command line

Configure predecessor task succeeded

 [ root@renwole.com  zabbix-5.0.1]# ./ configure --prefix=/apps/server/zabbix \ --sysconfdir=/apps/server/zabbix/etc --enable-server --enable-agent \ --with-mysql=/apps/server/mysql/bin/mysql_config --with-openssl \ --with-net-snmp --with-libcurl --with-libxml2 --enable-proxy --enable-ipv6 \ --enable-java --with-ssh2 --with-iconv --with-openipmi --with-ldap *********************************************************** *            Now run 'make install'                       * *                                                         * *            Thank you for using Zabbix!                  * *              < http://www.zabbix.com >                    * ***********************************************************

Failed to install Zabbix

 make install ... ssh2  -lOpenIPMI -lOpenIPMIposix -lz -lpthread -levent -lssl -lcrypto -lldap -llber   -lcurl -lm -ldl  -lresolv -lpcre -liconv /usr/bin/ld: warning: libssl.so.10, needed by /usr/lib64/libnetsnmp.so, may conflict with libssl.so.1.1 /usr/bin/ld: warning: libssl.so.10, needed by /usr/lib64/libnetsnmp.so, may conflict with libssl.so.1.1 /usr/bin/ld: ../../ src/libs/zbxcrypto/libzbxcrypto.a(libzbxcrypto_a-tls.o): undefined reference to symbol 'SSL_library_init@@libssl.so.10' //usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line Collect2: Error: ld returns 1 Make [3]: * * * [zabbix_server] Error 1 Make [3]: leave directory "/opt/zabbix-5.0.1/src/zabbix_server" Make [2]: * * * [install recursive] Error 1 Make [2]: leave the directory "/opt/zabbix-5.0.1/src/zabbix_server" Make [1]: * * * [install recursive] Error 1 Make [1]: leave directory "/opt/zabbix-5.0.1/src" Make: * * * [install recursive] error 1

Analyze causes

 [ root@renwole.com  zabbix-5.0.1]# find / -name libssl.so.* /usr/lib64/libssl.so.1.0.2k /usr/lib64/libssl.so.10 /apps/server/mysql/lib/private/libssl.so.1.1

MySQL 8 depends on Openssl 1.1, while CentOS 7 installs Openssl 1.0 by default, so you need to upgrade Openssl 1.1.1, see《 How to upgrade OpenSSL 》, and then install Zabbix.

Post reply

Your email address will not be disclosed. Required items have been used * tagging

 Captcha Code