Welcome to LQ.
See
https://groups.google.com/forum/?fro...rs/JNERrrO-RBo
A similar error will also happen if you move the "ns-allinone-2.35/" to a new location.
I.e. The executable 'ns' or "ns-<any-name>" is hard coded to know the location of it`s libraries:
ns-allinone-2.35/{ lib/{libtcl*, tclConfig.sh, tcl8*/}, bin/tcsh8* }.
" 'ns' is
hard coded to know ns-allinone-2.35/lib, bin" also means that any text added to .bashrc is meaningless.
-