Hi Patrick,
thank you for your report to help making Ubuntu better.

After installing the dev packages via
$ sudo apt-get install dpdk libdpdk-dev dpdk-dev

I can confirm your report - not sure if it is a "bug" yet.
The file(s) are part of libdpdk-dev.
libdpdk-dev:amd64: /usr/lib/x86_64-linux-gnu/librte_eal.a

The symlink you refer to is just a convenience pointing from a dpdk specific 
dir to the libs following the usual file system layout.
/usr/share/dpdk/x86_64-default-linuxapp-gcc/lib -> ../../../lib/

The RTE paths are usually made available via /usr/share/dpdk/dpdk-sdk-env.sh.
In more recent releases there is also a packageconfig file.

So trying to confirm I understood your request - you mind the extra 
x86_64-linux-gnu in the path and would want it to change.
#1 Do you want the linkg to change:
/usr/share/dpdk/x86_64-default-linuxapp-gcc/lib -> ../../../lib/
to
/usr/share/dpdk/x86_64-default-linuxapp-gcc/lib -> ../../../lib/x86_64-linux-gnu

#2 or do you want the actual position to change:
File in:
${RTE_SDK}/${RTE_TARGET}/lib/x86_64-linux-gnu/
to be in
${RTE_SDK}/${RTE_TARGET}/lib/


So far we had no issues with it, also not building third party DPDK apps with 
that layout - e..g some of the dpdk examples.
I really wonder since the following works if we really should change that - 
can't SPDK work "the same way"?
. /usr/share/dpdk/dpdk-sdk-env.sh
make -C /usr/share/dpdk/examples/l2fwd "O=${ORIGDIR}/l2fwd"

** Changed in: dpdk (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653179

Title:
  dpdk-dev incorrect symlink under $RTE_SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1653179/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to