Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22040

How to build against "file-devel"?

$
0
0

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


Viewing all articles
Browse latest Browse all 22040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>