From a8efb712fd89cba4a537a570299be8b5362e6676 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Tue, 14 Jan 2014 11:40:50 +0100 Subject: [PATCH] Added comment on rpath --- user-doc/Installation.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/user-doc/Installation.txt b/user-doc/Installation.txt index c300ee4e9..9a571eb80 100644 --- a/user-doc/Installation.txt +++ b/user-doc/Installation.txt @@ -72,6 +72,13 @@ link it with This rule is true for all the libraries, so that you will always be able to link a specific version of a library by adding it to the LIBS variable. +\warning On Linux you might have problems using the LDFLAGS option. In particular, +if you have problems in linking file 'src/lib/plumed-shared', try to set correctly +the runtime path with e.g. +\verbatim +> ./configure LDFLAGS="-L/opt/local/lib -Wl,-rpath,/opt/local/lib" CPPFLAGS=-I/opt/local/include LIBS=-lmymatheval +\endverbatim + Notice that PLUMED needs blas and lapack. The configure script is first looking for them in the standard path, then with option "-lblas" and "-llapack", respectively. Thus, if you want to use a specific version of them -- GitLab