<div dir="ltr">I completely missed that so thanks for pointing it out.<div><br></div><div>On the CentOS environment I don't have an easy way to update it right now so I switched over to another host and am seeing similar behavior. The major deltas are listed below.</div><div><br></div><div>OS: Ubuntu 21.10</div><div>meson: 0.56.2</div><div>pkg-config: 0.29.2 (+ 1.7.3 via pkgconf)</div><div>gcc: 11.2.0</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 23, 2022 at 4:20 AM Bruce Richardson <<a href="mailto:bruce.richardson@intel.com">bruce.richardson@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, May 20, 2022 at 10:35:07PM -0400, Ben Magistro wrote:<br>
> I've been working through some updates to the build system for TLDK and<br>
> have been working through the different variants (system vs fallback +<br>
> shared vs static). I've been able to successfully build and run the<br>
> unit test app for most of these combinations however, I haven't been<br>
> able to get the system static combination to work successfully yet,<br>
> OS: CentOS 7.9 + devtoolset-9 (gcc 9.3.1)<br>
> DPDK: 21.11<br>
> I built DPDK using `meson build` + `ninja -C build` using default<br>
> options and installed using `ninja -C build install`.<br>
> When configuring TLDK, I get an error indicating the static libraries<br>
> cannot be found. I'm still investigating this, but could use some<br>
> assistance. I wouldn't rule out an issue in the meson files for TLDK.<br>
> [bmagistro@lvdi-01 tldk-system-static]$ meson build<br>
> -Dpkg_config_path=/usr/local/lib64/pkgconfig<br>
> The Meson build system<br>
> Version: 0.55.1<br>
> Source dir: /home/bmagistro/github/tldk-system-static<br>
> Build dir: /home/bmagistro/github/tldk-system-static/build<br>
> Build type: native build<br>
> Program cat found: YES<br>
> Project name: TLDK<br>
> Project version: 21.11.0<br>
> C compiler for the host machine: cc (gcc 9.3.1 "cc (GCC) 9.3.1 20200408<br>
> (Red Hat 9.3.1-2)")<br>
> C linker for the host machine: cc ld.bfd 2.32-16<br>
> C++ compiler for the host machine: c++ (gcc 9.3.1 "c++ (GCC) 9.3.1<br>
> 20200408 (Red Hat 9.3.1-2)")<br>
> C++ linker for the host machine: c++ ld.bfd 2.32-16<br>
> Host machine cpu family: x86_64<br>
> Host machine cpu: x86_64<br>
> Message: ## Building in Developer Mode ##<br>
> Found pkg-config: /usr/bin/pkg-config (0.27.1)<br>
<br>
Can you try installing a newer version of pkg-config or pkgconf. We have<br>
previously encountered issues with the version of pkg-config installed on<br>
RHEL 7 and Centos 7. It does some reordering of arguments and flags<br>
that can break things under certain circumstances. See:<br>
<br>
<a href="https://doc.dpdk.org/guides-21.11/linux_gsg/sys_reqs.html#building-dpdk-applications" rel="noreferrer" target="_blank">https://doc.dpdk.org/guides-21.11/linux_gsg/sys_reqs.html#building-dpdk-applications</a><br>
<br>
/Bruce<br>
</blockquote></div>