ubuntu 安装问题

ubuntu 安装问题

这是什么意思 安装完成后该做什么

(1) You MUST put /home/shabeer/ns-allinone-2.35/otcl-1.14, /home/shabeer/ns-allinone-2.35/lib, 
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries 
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
        setenv LD_LIBRARY_PATH <paths>
    If you are using sh, you can set it like:
        export LD_LIBRARY_PATH=<paths>

答案1

在 ~/.bashrc 中,你应该添加一行

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/shabeer/ns-allinone-2.35/otcl-1.14:/home/shabeer/ns-allinone-2.35/lib

然后注销并重新登录或运行

source ~/.bashrc

程序需要知道这些路径。

希望你不需要第二部分,但如果你需要的话,请再写一遍

相关内容