[dpdk-users] How to build dpdk with shared libraries?

David Aldrich david.aldrich.ntml at gmail.com
Fri Jul 10 18:46:26 CEST 2020


I am using dpdk-stable-18.11.8 on Centos 7 with gcc compiler. I build dpdk
using:

usertools/dpdk-setup.sh option 15 'x86_64-native-linuxapp-gcc'

This builds static libraries in:

x86_64-native-linuxapp-gcc/lib

I want to use shared libraries. I believe the required setting is:

“CONFIG_RTE_BUILD_SHARED_LIB=y”

I tried setting that in: config/common_base and running option 15 again,
but the shared libs were either not built, or I can't find them.

What is the correct way to build dpdk shared libs using dpdk-setup.sh?


More information about the users mailing list