gdb error

39 views
Skip to first unread message

Konstantinos

unread,
Sep 22, 2011, 7:28:05 AM9/22/11
to ns-3-...@googlegroups.com
Hi all,

I have a problem with gdb. I always receive this error:

../src/ns-3-11/ns-3.11/build/debug/scratch/winner-test: error while loading shared libraries: libns3-core.so: cannot open shared object file: No such file or directory
Program exited with code 0177.


I have tried ./waf shell but again the same problem. This is only when I run it on the workstation (Ubuntu 10.04) but when I run it on my laptop (Ubuntu 10.04 in vmware) I don't have any problem with gdb.
I have checked that both required packages (gdb and valgrind) are installed.

Any ideas ?

Regards,
Konstantinos

Mitch Watrous

unread,
Sep 23, 2011, 2:58:57 PM9/23/11
to ns-3-users
Are you able to run your program (winner-test) on both machines
directly without using gdb?

Mitch

Konstantinos

unread,
Sep 23, 2011, 7:40:10 PM9/23/11
to ns-3-...@googlegroups.com
Dear Mitch

Yes, the program is running on both of them but it causes a segmentation error which I wanted to examine. Using the gdb on the laptop I found were it was. But generally gdb does not work on the workstation. The thing is that the workstation is a "university" pc and I don't have full administration access. Also, it is x64 unlike the laptop which is x86.

Thanks
Reply all
Reply to author
Forward
0 new messages