On Mon, Oct 12, 2020 at 02:02:19PM +0200, David Marchand wrote: > On Fri, Oct 9, 2020 at 4:19 PM Bruce Richardson > <bruce.richard...@intel.com> wrote: > > > > When compiling for a slightly different architecture, e.g. 32-bit on 64-bit > > systems using CFLAGS rather than a cross-file, the pcap-config utility can > > often return parameters that are unusable for the build in question, i.e. > > providing the native 64-bit library paths rather than checking for 32-bit > > equivalent. > > > > Since many distros now include a version of libpcap with a > > pkg-config file, and for those that don't find-library should work ok as a > > fallback, we can explicitly just use pkg-config in the dependency search, > > causing meson to skip trying to use pcap-config. > > > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > > I also hit (this?) issue on a fc32 with both 32-bit and 64-bit pcap installed. > Can you confirm? >
It looks to be the same general issue. Does adding this patch fix things? When compiling 32-bit on 64-bit you generally need to be sure to set PKG_CONFIG_LIBDIR in your environment to point to the appropriate path. It might also serve to fix things in this instance, if not set. > If so, we might want to backport this as I get the same problem with v19.11.4. > Good idea, I don't think it will break anything. /Bruce