Re: [AMBER] cannot fix the problem LD_LIBRARY_PATH does not include $AMBERHOME/lib

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Tue, 28 Nov 2017 08:49:44 -0500

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
Received on Tue Nov 28 2017 - 06:00:05 PST
Custom Search