AMBER Archive (2004)

Subject: Re: AMBER: amber 8 error

From: Andreas Svrcek-Seiler (svrci_at_tbi.univie.ac.at)
Date: Tue Oct 19 2004 - 04:00:59 CDT


Hi,
> /usr/local/amber8/exe/sander: error while loading
> shared libraries: libcxa.so.5: cannot open shared
> object file: No such file or directory
>
> why?
because libcxa.so.5 is not in the library search PATH
> for your information i already did :-
>
> cp -s -f /usr/local/c++/lib* . (the directory is c++
> because the c++ compiler in this directory)
> and
> cp -s -f /usr/local/l_fc_p_8.1.018/lib/* .
>

...cp /usr/local/l_fc_p_8.1.018/lib/* $DIR,
then (for the (t)csh-shell):
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${DIR},
where $DIR is an appropriate directory (exported via NFS to all linux
boxes in my case). Other shells might require a slightly different syntax.
Note that when sander runs are invoked by csh-scripts, these need
#!/bin/csh -f
in the first line, so that LD_LIBRARY_PATH is "visible" inside the script.
Of course one could copy all intel libs /lib or /usr/lib as an
alternative, but that complicates compiler updates etc.
...hope that helps,
best regards
Andreas
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu