[ZBXNEXT-4203] Unable to install zabbix agent 3.4 on RHEL 7 Created: 2017 Oct 30  Updated: 2017 Oct 31  Resolved: 2017 Oct 31

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 3.4.2, 3.4.3
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: stisfe Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 7



 Description   

I run ' # yum install zabbix-agent' and I get this message:

Error: Package: zabbix-agent-3.4.3-1.el6.x86_64 (zabbix)
Needs: libpcre.so.0()(64bit)

  1. yum repolist

epel/x86_64
mariadb
mysql-connectors-community/x86_64
mysql-tools-community/x86_64
mysql56-community/x86_64
mysql57-community/x86_64
remi-safe
rhel-7-server-optional-rpms/7Server/x86_64
rhel-7-server-rpms/7Server/x86_64
rhel-server-rhscl-7-beta-rpms/x86_64
webtatic/x86_64
zabbix/x86_64
zabbix-non-supported/x86_64

#What repository I need to install 'libpcre.so.0' or it's dependencies?



 Comments   
Comment by dimir [ 2017 Oct 30 ]

Indeed, libpcre dependency is missing in 3.4.x packages. Same as libevent. Thanks for finding this issue, it will be solved in 3.4.4 packages that are coming really soon.

<dimir> Looks like library dependencies are automatically set and correct in the packages. Nothing to do there.

Comment by stisfe [ 2017 Oct 30 ]

Thank you very much.

Comment by dimir [ 2017 Oct 30 ]

Actually, could you show the output of the following commands:

$ rpm -qa | grep pcre
$ rpm -ql pcre
Comment by stisfe [ 2017 Oct 30 ]
  1. rpm -qa | grep pcre
    pcre2-10.23-2.el7.x86_64
    pcre-8.32-17.el7.i686
    pcre-devel-8.32-17.el7.x86_64
    pcre-8.32-17.el7.x86_64

]# rpm -ql pcre
/usr/lib64/libpcre.so.1
/usr/lib64/libpcre.so.1.2.0
/usr/lib64/libpcre16.so.0
/usr/lib64/libpcre16.so.0.2.0
/usr/lib64/libpcre32.so.0
/usr/lib64/libpcre32.so.0.0.0
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.1
/usr/share/doc/pcre-8.32
/usr/share/doc/pcre-8.32/AUTHORS
/usr/share/doc/pcre-8.32/COPYING
/usr/share/doc/pcre-8.32/ChangeLog
/usr/share/doc/pcre-8.32/LICENCE
/usr/share/doc/pcre-8.32/NEWS
/usr/share/doc/pcre-8.32/README
/usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1.2.0
/usr/lib/libpcre16.so.0
/usr/lib/libpcre16.so.0.2.0
/usr/lib/libpcre32.so.0
/usr/lib/libpcre32.so.0.0.0
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.1
/usr/share/doc/pcre-8.32
/usr/share/doc/pcre-8.32/AUTHORS
/usr/share/doc/pcre-8.32/COPYING
/usr/share/doc/pcre-8.32/ChangeLog
/usr/share/doc/pcre-8.32/LICENCE
/usr/share/doc/pcre-8.32/NEWS
/usr/share/doc/pcre-8.32/README

Comment by dimir [ 2017 Oct 31 ]

The problem is that you are using repository for RHEL 6 on RHEL 7. Please install correct zabbix-release package:

rpm -ivh --force http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm

and then reinstall all your currently installed zabbix packages.

Details. The dependent file libpcre.so.0 is available on RHEL 6 but on RHEL 7 it has different name, this is why the agent package complains about non-existent library.

Generated at Fri Mar 29 11:48:10 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.