I have tried the advice: add 'test -f ...'
But it didn't work.
Thank you anyway.
Best,
Yuan Min
> -----原始邮件-----
> 发件人: "Daniel Roe" <daniel.r.roe.gmail.com>
> 发送时间: 2017-11-28 21:49:44 (星期二)
> 收件人: "AMBER Mailing List" <amber.ambermd.org>
> 抄送:
> 主题: [SPAM] Re: [AMBER] cannot fix the problem LD_LIBRARY_PATH does not include $AMBERHOME/lib
>
> On Tue, Nov 28, 2017 at 4:24 AM, MinYuan <minyuan.mail.ustc.edu.cn> wrote:
> > I add the $AMBERHOME/lib into the path, and source ~/.bashrc.
> > But it doesn't work and same error occurs.
> > ---------------------------------------------------
> > # added by amber16
> > export AMBERHOME=/home/miny/amber/amber16
> > source /home/miny/amber/amber16/amber.sh
>
> These are fine (although I would do 'source $AMBERHOME/amber.sh' instead).
>
> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH\:$AMBERHOME/lib:$AMBERHOME/lib4
>
> The 'amber.sh' script will set everything up for you, so this line
> should be unnecessary. Why not try following the advice that was given
> by the test script, i.e. add ' test -f
> /home/miny/amber/amber16/amber.sh && source
> /home/miny/amber/amber16/amber.sh (sh/bash/zsh)' to your ~/.bashrc
> file?
>
> -Dan
>
> > ---------------------------------------------------------------------------
> >
> >
> > Looking forward to hear your reply soon.
> >
> > Best wishes
> >
> > Yuan Min
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
>
>
> --
> -------------------------
> Daniel R. Roe
> Laboratory of Computational Biology
> National Institutes of Health, NHLBI
> 5635 Fishers Ln, Rm T900
> Rockville MD, 20852
> https://www.lobos.nih.gov/lcb
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 28 2017 - 17:30:02 PST