On Fri, Oct 2, 2020 at 12:52 PM Christian Hopps <cho...@chopps.org> wrote:

> I just noticed this error I'm getting
>
> net_mlx4: cannot load glue library:
> /home/chopps/w/vpp/build-root/install-vpp-native/external/lib/dpdk/pmds-20.0.3-glue/librte_pmd_mlx4_glue.so.18.02.0:
> cannot open shared object file: No such file or directory
> net_mlx4: cannot initialize PMD due to missing run-time dependency on
> rdma-core libraries (libibverbs, libmlx4)
> common_mlx5: Cannot load glue library:
> /home/chopps/w/vpp/build-root/install-vpp-native/external/lib/dpdk/pmds-20.0.3-glue/librte_pmd_mlx5_glue.so.20.02.0:
> cannot open shared object file: No such file or directory
> common_mlx5: Cannot initialize MLX5 common due to missing run-time
> dependency on rdma-core libraries (libibverbs, libmlx5)
>
> And:
>
> (default) [17:50:17 ...]$ find ../build-root/*-vpp-native/external -name
> '*glue*'
>
> ../build-root/build-vpp-native/external/src-dpdk/drivers/common/mlx5/linux/mlx5_glue.c
>
> ../build-root/build-vpp-native/external/src-dpdk/drivers/common/mlx5/linux/mlx5_glue.h
>
> ../build-root/build-vpp-native/external/src-dpdk/drivers/net/mlx4/mlx4_glue.c
>
> ../build-root/build-vpp-native/external/src-dpdk/drivers/net/mlx4/mlx4_glue.h
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/common/mlx5/linux/librte_pmd_mlx5_glue.so
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/common/mlx5/linux/b7c1ada@
> @rte_pmd_mlx5_glue@sha
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/common/mlx5/linux/b7c1ada@
> @rte_pmd_mlx5_glue@sha/mlx5_glue.c.o
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/common/mlx5/linux/librte_pmd_mlx5_glue.so.20.02.0
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/net/mlx4/librte_pmd_mlx4_glue.so
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/net/mlx4/8672f8e@
> @rte_pmd_mlx4_glue@sha
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/net/mlx4/8672f8e@
> @rte_pmd_mlx4_glue@sha/mlx4_glue.c.o
>
> ../build-root/build-vpp-native/external/build-dpdk/drivers/net/mlx4/librte_pmd_mlx4_glue.so.18.02.0
> ../build-root/install-vpp-native/external/lib/dpdk/pmds-20.0.3-glue
> (default) [17:50:24 ...]
>
> So it looks like the glue is being built but not installed?
>
> Thanks,
> Chris.
>
>
Yeah, it seems so. Either build configurations need to be updated to
install the glue libraries or you might be able to change
ibverbs_link=dlopen to ibverbs_link=static.

-Matt




>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17636): https://lists.fd.io/g/vpp-dev/message/17636
Mute This Topic: https://lists.fd.io/mt/77247865/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to