[Ns-developers] ns-3 not 64bit clean already

Lee Begg llnz at paradise.net.nz
Tue Oct 3 05:06:35 PDT 2006


On Wednesday 04 October 2006 00:42, you wrote:
> you have to set LD_LIBRARY_PATH to make it work ? This should not be the
> case since it should use RPATH during linking on your system. Would you
> mind paste the link line of the run-tests program ?
>
> Mathieu

scons by default is building dbg-shared.

I cd into build-dir/dbg-shared/bin and run
LD_LIBRARY_PATH=../lib/ ./run-tests

Without the LD_LIBRARY_PATH prefix is reports:
./run-tests: error while loading shared libraries: libcommon.so: cannot open 
shared object file: No such file or directory

(I would like to point out that libcommon is not a good shared library name)

>From the src base dir (ie ns-3) running ./build-dir/dbg-shared/bin/run-tests
works correctly (didn't think to try that originally.)

When I build dbg-static, the run-tests doesn't output anything to the console 
(but does run).  The other sample-* programs work correctly, afaict.

Hope this helps
Lee

PS: no need to CC me, I'm on the list



More information about the Ns-developers mailing list