problem with DCE example running

180 views
Skip to first unread message

易胜峰

unread,
Jan 5, 2022, 11:54:17 AM1/5/22
to ns-3-users
HI All!
I just started to use NS3-DCE, and currently I have successfully compiled it, but I can’t compile successfully when I run the example, and it prompts "Don't know how to configure dynamic library path for the platform'linux'; assuming it's LD_LIBRARY_PATH."
I have tried "export LD_LIBRARY_PATH=`pwd`/build/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" or "export LD_LIBRARY_PATH=/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" to no avail
I don't know how to solve it
PS. the ubuntu version is 16.04, and the DCE version is dce-linux-1.11

sincerely,
yishengfeng
running-problem.png

Tom Henderson

unread,
Jan 5, 2022, 6:18:13 PM1/5/22
to ns-3-...@googlegroups.com
On 1/5/22 8:54 AM, 易胜峰 wrote:
> HI All!
> I just started to use NS3-DCE, and currently I have successfully
> compiled it, but I can’t compile successfully when I run the example,
> and it prompts "Don't know how to configure dynamic library path for
> the platform'linux'; assuming it's LD_LIBRARY_PATH."

I think that it is compiling and running successfully; can you check
program output?

I am observing the same warning message on my Ubuntu 16 machine when I
run an example (e.g. './waf --run dce-iperf') but the program runs
successfully.  If I enter the Waf shell and run the binary directly, I
do not get the warning:

$ ./waf shell

$ cd build/bin

$ ./dce-iperf

- Tom


易胜峰

unread,
Jan 5, 2022, 11:48:55 PM1/5/22
to ns-3-users
Thank you very much. After receiving your suggestion, I checked the output of the program and it has indeed run successfully

quick kkkol

unread,
May 6, 2025, 4:55:17 AMMay 6
to ns-3-users

Hello everyone, I have a question I would like to ask for help with. I followed the instructions on https://ns-3-dce.readthedocs.io/en/latest/getting-started.html#introduction to run the iperf with the Linux kernel stack. When I input the command ./waf --run "dce-iperf --stack=linux", the files-0/var/log/*/stdout file does not update with output. And the shell like this : Don't know how to configure dynamic library path for the platform 'linux'; assuming it's LD_LIBRARY_PATH.

Snipaste_2025-05-06_16-44-08.png

 However, when I use the command  as : ./waf --run dce-iperf,
 the files-0/var/log/*/stdout file gets updated.
I would like to ask if the command ./waf --run dce-iperf invokes the ns-3 network stack? How can I properly call the Linux network stack?
Reply all
Reply to author
Forward
0 new messages