Re: AMBER: amber 8 error

From: Atro Tossavainen <atro.tossavainen+amber.helsinki.fi>
Date: Tue, 19 Oct 2004 13:23:23 +0300 (EEST)

> > /usr/local/amber8/exe/sander: error while loading
> > shared libraries: libcxa.so.5: cannot open shared
> > object file: No such file or directory
>
> because libcxa.so.5 is not in the library search PATH

Yes, but LD_LIBRARY_PATH is not the answer, it is a damn kludge.

If the necessary libraries aren't in the system's library search path,
the correct answer is to include "-Wl,-rpath,blahblah" (where blahblah
is replaced with the directory where they are) during the link loading
stage of any programs that require them.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Tue Oct 19 2004 - 11:53:00 PDT
Custom Search