DOCA 3.1 for Ubuntu 24.04 error

Keep getting a DPDK error stating that EAL requires libmana.so. According to everything I’ve read, the DOCA installer is supposed to install that library. Where is it?

The libmama is included in rdmacore (rdma-core/providers/mana/).

Try to install the new RDMA core.

The lib is usually included in below directories:

/lib/modules/<uname -r>/updates/dkms

/usr/lib

/usr/lib64

I see the DPDK pages and here say that libmana is installed by rdma-core but on Ubuntu 24.04 it appears to be installed by libibverbs-dev. Installing DOCA 2.9 and 3.2 wipes the library and pkg-config files from the system.

my co-worker came up with a workaround, make a stub pkgconfig file for libmana. can’t use this with libmana (microsoft azure) obviously but it works for me.

sudo tee /usr/lib/x86_64-linux-gnu/pkgconfig/libmana.pc << 'EOF'
prefix=/usr
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include

Name: libmana
Description: Microsoft Azure Network Adapter library (stub)
Version: 1.0
Libs:
Cflags: EOF

Wanted to add to my last comment.

Also had to make a backup directory /usr/lib/x86_64-linux-gnu/dpdk/backup and move the ‘mana’ related plugins like rte_net_mana* from /usr/lib/x86_64-linux-gnu/dpdk/pmds-24.0 to it for things to work properly.