DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] using dpdk as a shared library
@ 2020-12-18 22:38 Justin Tallon
  2020-12-19 19:27 ` Stephen Hemminger
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Tallon @ 2020-12-18 22:38 UTC (permalink / raw)
  To: users

Hey guys,

We are trying to use dpdk (dpdk-stable-18.08.1) as a shared library.

We have recompiled as a shared library by setting

My program compiles file and I can see the relevant libraries when I use
ldd on the binary.

I direct my binary look in the correct place by using export
LD_LIBRARY_PATH and the binary appears to find the libraries.
However, when the function rte_eth_dev_count_avail returns it returns a 0
and exits, when I run the same program with static libraries, it works

Any help on this would be great!


Justin Tallon Ph.D.

Software Radio Systems (SRS)

+353-86-067-0753 | justin.tallon@softwareradiosystems.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-22 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 22:38 [dpdk-users] using dpdk as a shared library Justin Tallon
2020-12-19 19:27 ` Stephen Hemminger
2020-12-21 23:20   ` Justin Tallon
2020-12-21 23:32     ` Stephen Hemminger
2021-03-22 21:18       ` Justin Tallon

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git