I was trying to do some test builds with EL 5 using mock on CentOS 7.2 and I kept getting the following error:
Installing : 2:shadow-utils-4.0.17-23.el5.x86_64 82/114
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Installing : libutempter-1.1.4-4.el5.x86_64 83/114
warning: group utmp does not exist - using root
Any ideas?