2022-07-20 14:58 (UTC+0000), Mark de Roussier:
> thanks for the idea, but I'm afraid that's not the case. I do have that
> already, that is what is providing libmlx4 and libmlx5. But it does not
> contain librte_common_mlx5, which is what I think is probably the source of
> my problem.
librte_common_mlx5 is built as part of DPDK.
The dependency chain is as follows ("|" denotes DPDK boundary):
librte_{net,...}_mlx5 -> librte_common_mlx5 -> | -> libmlx5, libibverbs
I think the root cause is with pkg-config, as described in your first message.
pkg-config is used to find libraries, including libibverbs and libmlx5.
librte_common_mlx5 build is skipped if they are not found.
This message is harmless:
[Errno 21] Is a directory:
'/home/mderouss/Projects/dpdk/dpdk-stable-21.11.1/buildtools/pkg-config'
Unusable script
'/home/mderouss/Projects/dpdk/dpdk-stable-21.11.1/buildtools/pkg-config'
LIBRARY_PATH should not be needed.
What is the full build log?