From 833a8bf4104427d8ff363e7e0be4fc2790721c65 Mon Sep 17 00:00:00 2001 From: Yuqi <38589382+Creeki@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:01:00 +0100 Subject: [PATCH] Update README.md For me, "export LIBRARY_PATH" is necessary to compile RAiSD. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9262b10..bfa0eff 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,12 @@ As an alternative, you can install GSL locally (NOT RECOMMENDED) with the follow This will download the latest GSL version from https://ftp.gnu.org/gnu/gsl/, unzip it, install it in the raisd-master/gsl directory, and compile RAiSD. If the executable is not eventually created (this process might take a few minutes), you might need to change the version numbers in the install-RAiSD-GSL.sh script. A folder named gsl-X.Y is already created in the raisd-master directory, where X and Y are the GSL version numbers. Replace the version numbers in the 5th line of the install-RAiSD-GSL.sh script with X and Y, and execute the installation script again. -Finally, and while still in the raisd-master directory, use the following command to allow RAiSD to access the locally installed GSL library: +Finally, and while still in the raisd-master directory, use the following commands to allow RAiSD to access the locally installed GSL library. Then, you could execute the ./install-RAiSD.sh to compile RAiSD. $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/gsl/lib + $ export LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/gsl/lib -This command should be used from within the installation directory (raisd-master) in every new terminal before running RAiSD. Otherwise, the following error message will appear when launching RAiSD: +These commands should be used from within the installation directory (raisd-master) in every new terminal before running RAiSD. Otherwise, the following error message will appear when launching RAiSD: ./RAiSD: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory