I was able to `mke pkg-dep` and `sudo dpkg -i build-root/*.deb`, however after 
install when running vpp service and checking logs I see the following:

```

$ sudo vpp show logs

mlx5_common: Cannot load glue library: 
/home/ubuntu/vpp/vpp/build-root/install-vpp-native/external/lib/dpdk/pmds-22.1-glue/librte_common_mlx5_glue.so.22.1:
 cannot open shared object file: No such file or directory

mlx5_common: Cannot initialize MLX5 common due to missing run-time dependency 
on rdma-core libraries (libibverbs, libmlx5)

vlib_call_all_config_functions: unknown input `show logs'

```
Its not clear to me from these instructions ( 
https://wiki.fd.io/view/VPP/Build,_install,_and_test_images#Build_A_VPP_Package 
) if I need to do anything after `make build`. Here is the output after make 
build completes

```
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/ubuntu/vpp/vpp/build-root/build-vpp_debug-native/vpp
@@@@ Building vpp in /home/ubuntu/vpp/vpp/build-root/build-vpp_debug-native/vpp 
@@@@
[2498/2498] Linking C shared library 
lib/x86_64-linux-gnu/vpp_plugins/unittest_plugin.so
@@@@ Installing vpp @@@@
[0/1] Install the project...
-- Install configuration: "debug"
make[1]: Leaving directory '/home/ubuntu/vpp/vpp/build-root'
```
Did it install? Do I need to create a deb package instead? Will my dpdk.mk 
changes be used in the `make pkg-deb`

I read this post ( https://lists.fd.io/g/vpp-dev/topic/77247865#17634 ) seems 
other have had the same issue. @Matt you stated

> 
> "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."
> 

I adjusted build/external/packages/dpdk.mk, DPDK_MLX_IBV_LINK ?=static, then 
ran make pkg-deb, and installed but I get the same error. It seems DPDK is not 
linking, is there any fix for this? I am fine with using RDMA, however my 
previous post shows the commands just dont work.

Any recommendations on next steps?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21635): https://lists.fd.io/g/vpp-dev/message/21635
Mute This Topic: https://lists.fd.io/mt/92231790/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to