Requires: libpcre.so / CentOS 7

Ran into this rather peculiar error recently while installing Varnish Cache on CentOS 7.

The fix turned out to be simple, CentOS 6 was set in the varnish repo file at /etc/yum.repos.d/varnish.repo instead of CentOS 7. This applies to other software’s as well.

If you ever run into this error make sure you install for the correct OS version.