I've installed file-devel
with dnf install file-devel --enablerepo=PowerTools
and it worked fine.I was expecting to find a libmagic.pc
file in /usr/lib64/pkgconfig
, and then refer to it in my configure.ac
, like this:
PKG_CHECK_MODULES([LIBMAGIC], [libmagic], , [AC_MSG_ERROR([file is required, verify that it is installed.])])
But it's not there.
cat /etc/redhat-releaseCentOS Linux release 8.1.1911 (Core)gcc --versiongcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4)autoreconf --versionautoreconf (GNU Autoconf) 2.69
Any ideas would be most welcome