You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prevents us from moving the installation directory into a different location, which is useful e.g. when the installation is performed on one machine but we want to run the executables on a different machine. A better way would be to set rpath relative to executables. With GCC/Clang on Linux, this can be done by passing -Wl,-rpath,"\$ORIGIN/../lib".
The solution should ideally work on both Linux and macOS. However, when comes to dynamic linking, both operating systems have their specifics, so this needs to be taken into account.
The text was updated successfully, but these errors were encountered:
Currently, after
make install
,rpath
of executables is set to an absolute path into the installation directory:This prevents us from moving the installation directory into a different location, which is useful e.g. when the installation is performed on one machine but we want to run the executables on a different machine. A better way would be to set
rpath
relative to executables. With GCC/Clang on Linux, this can be done by passing-Wl,-rpath,"\$ORIGIN/../lib"
.Notes:
The text was updated successfully, but these errors were encountered: