Public bug reported: I am trying to build dpdk and ovs .deb packages on Ubuntu 16.04, from your latest source at DPDK 16.07: https://launchpad.net/ubuntu/+source/dpdk/16.07-0ubuntu3 OVS 2.6: https://launchpad.net/ubuntu/+source/openvswitch/2.6.0~git20160912.dc61b4e-0ubuntu4
The actual problem is that ovs-vswitchd always links with the dpdk shared libs. Linking against .so I get dpdk0 No such device error. sudo ovs-vsctl show Port "dpdk0" Interface "dpdk0" type: dpdk error: "could not open network device dpdk0 (No such device)" 2016-09-22T16:14:41.425Z|00044|bridge|WARN|could not open network device dpdk0 (No such device) localadmin@compute29:~/ovs-dpdk_backport/debian$ ldd ./debian/openvswitch-switch/usr/lib/openvswitch-switch/ovs-vswitchd linux-vdso.so.1 => (0x00007fffadfea000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f0bf7dfc000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f0bf79a1000) libcap-ng.so.0 => /usr/lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007f0bf779b000) librte_pdump.so.1 => /usr/lib/x86_64-linux-gnu/librte_pdump.so.1 (0x00007f0bf7391000) librte_mbuf.so.2 => /usr/lib/x86_64-linux-gnu/librte_mbuf.so.2 (0x00007f0bf718e000) librte_vhost.so.3 => /usr/lib/x86_64-linux-gnu/librte_vhost.so.3 (0x00007f0bf6f70000) librte_pmd_ring.so.2 => /usr/lib/x86_64-linux-gnu/librte_pmd_ring.so.2 (0x00007f0bf6d6b000) librte_eal.so.2 => /usr/lib/x86_64-linux-gnu/librte_eal.so.2 (0x00007f0bf6b0c000) libethdev.so.4 => /usr/lib/x86_64-linux-gnu/libethdev.so.4 (0x00007f0bf687e000) librte_mempool.so.2 => /usr/lib/x86_64-linux-gnu/librte_mempool.so.2 (0x00007f0bf6677000) librte_meter.so.1 => /usr/lib/x86_64-linux-gnu/librte_meter.so.1 (0x00007f0bf6475000) librte_ring.so.1 => /usr/lib/x86_64-linux-gnu/librte_ring.so.1 (0x00007f0bf6271000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0bf6054000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0bf5e4c000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0bf5b42000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0bf5779000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0bf5575000) /lib64/ld-linux-x86-64.so.2 (0x000055f29b390000) librte_kvargs.so.1 => /usr/lib/x86_64-linux-gnu/librte_kvargs.so.1 (0x00007f0bf5371000) ISSUES: ------------ #1: The linkage problem and dpdk0 not found. I am aware of http://dpdk.org/ml/archives/dev/2016-September/047832.html If you have a patch already could you let me know please? #2: Is there any way to make the vswitchd link with the static libs? #3: In debian/rules: override_dh_auto_configure I had to add '--with-dpdk' otherwise the ovs-vswitchd in the .deb package is without dpdk support. ** Affects: openvswitch-dpdk (Ubuntu) Importance: Undecided Status: New ** Tags: ovs-dpdk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629271 Title: ovs-dpdk 2.6 source package linkage broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch-dpdk/+bug/1629271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs