CentOS7 Dependencie failed on libpq (which I alreday have...)

Hello,
I’m struggling instaling check-mk on a centOS7 server

CMK version:
check-mk-free-2.1.0p16-el9-38.x86_64.rpm
OS version:
CentOS Linux release 7.9.2009 (Core)
Error message:
Error: Package: check-mk-free-2.1.0p16-el9-38.x86_64 (/check-mk-free-2.1.0p16-el9-38.x86_64)
Requires: libpq
I have libpq installed via postgresql-libs-9.2.24-8.el7_9.x86_64 package as per :
[root@XXXXX YYYYYYY]# yum provides libpq.so Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

    • epel: mirror.ville-geneve.ch*
      postgresql-libs-9.2.24-4.el7_8.i686 : The shared libraries required for any PostgreSQL clients
      Repo : base
      Matched from:
      Provides : libpq.so = 9.2.24-4.el7_8

And the yum install check-mk-free-2.1.0p16-el9-38.x86_64.rpm return:
Loaded plugins: fastestmirror
Examining check-mk-free-2.1.0p16-el9-38.x86_64.rpm: check-mk-free-2.1.0p16-el9-38.x86_64
Marking check-mk-free-2.1.0p16-el9-38.x86_64.rpm to be installed
Resolving Dependencies
→ Running transaction check
—> Package check-mk-free-2.1.0p16.x86_64 0:el9-38 will be installed
→ Processing Dependency: libpq for package: check-mk-free-2.1.0p16-el9-38.x86_64
Loading mirror speeds from cached hostfile

  • epel: yumvdg.ville-geneve.ch
    → Finished Dependency Resolution
    Error: Package: check-mk-free-2.1.0p16-el9-38.x86_64 (/check-mk-free-2.1.0p16-el9-38.x86_64)
    Requires: libpq
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Anyone got an idea?
What does it check for libpq? maybe a symlink can do the trick but I don’t know where…

Hallo,
if possible use centos 8 or 9. Centos 7 will cause problems because of to old packages.
Ralf

Hello,
Thank you for your response, I will change the OS, even if the EOL is June, 2024.
Is it possible to change the documentation mentioning that it is compatible with CentOS7, it leads to misunderstanding.

The rpm you tried to install is for RHEL9
For CentOS 7 you should use check-mk-free-2.1.0p16-el7-38.x86_64.rpm

1 Like

Outch, I’m very ashamed of myself…
Thak you for your response, it works flawlessly now…
And it appears also that july 2024 is not so far away, so I also will try to install with a fresh rocky 9.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.