summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-12 12:18:52 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-12 12:18:52 +0100
commiteacbcb8b610a2b3503643beef8fe3b5076661ee3 (patch)
treee5b8a5af533b3fea8dbef1e3a064cff44f71b86e
parent5289b945bdb1c78388ae6b4b96201e1a0b202b50 (diff)
downloadgnuastro-eacbcb8b610a2b.tar.gz
Known issues solution to LD_LIBRARY_PATH re-written in book
This solution was slightly out-dated (more than one test will pass and many will be skipped). It also wasn't generic enough (describing the possibility of other installation directories). So it was re-written to adapt to what happens now. Also instead of the script writing the `export ...' command into `~/.bashrc', the line is now written and the user is requested to add it them selves (how ever they like). This is more clear and informative.
-rw-r--r--THANKS1
-rw-r--r--doc/announce-acknowledge.txt3
-rw-r--r--doc/gnuastro.texi23
3 files changed, 17 insertions, 10 deletions
diff --git a/THANKS b/THANKS
index d64a447..e9a72b9 100644
--- a/THANKS
+++ b/THANKS
@@ -47,6 +47,7 @@ support in Gnuastro. The list is ordered alphabetically (by family name).
Ole Streicher olebole@debian.org
Alfred M. Szmidt ams@gnu.org
Michel Tallon mtallon@obs.univ-lyon1.fr
+ Juan C. Tello jtello@iaa.es
Éric Thiébaut eric.thiebaut@univ-lyon1.fr
Ignacio Trujillo trujillo@iac.es
David Valls-Gabaud david.valls-gabaud@obspm.fr
diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt
index e0b35d5..8d8f500 100644
--- a/doc/announce-acknowledge.txt
+++ b/doc/announce-acknowledge.txt
@@ -3,5 +3,6 @@ People who's help must be acknowledged in the next release.
Antonio Diaz Diaz
Guillaume Mahler
Ole Streicher
-Éric Thiébaut
Michel Tallon
+Juan C. Tello
+Éric Thiébaut
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 9ec96fa..499816c 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -5279,18 +5279,23 @@ re-configure Gnuastro, then re-run make.
@cindex Tests, only one passes
@cindex @file{LD_LIBRARY_PATH}
@item
-@command{$ make check}: @emph{Only one @file{.sh} test passes, all the rest
-fail.} It is highly likely that your distribution doesn't look into the
-@file{/usr/local/lib} directory when searching for shared libraries. To
-make sure it is added to the list of directories, run the following command
-and restart your terminal: (you can ignore the @command{\} and extra space
-if you type it, it is only necessary if you copy and paste). See
-@ref{Installation directory} for more details.
+@command{$ make check}: @emph{Only the first couple of tests pass, all the
+rest fail or get skipped.} It is highly likely that when searching for
+shared libraries, your system doesn't look into the @file{/usr/local/lib}
+directory (or wherever you installed Gnuastro or its dependencies). To make
+sure it is added to the list of directories, add the following line to your
+@file{~/.bashrc} file and restart your terminal. Don't forget to change
+@file{/usr/local/lib} if the libraries are installed in other
+(non-standard) directories.
+
@example
-echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib' \
- >> ~/.bashrc
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
@end example
+You can also add more directories by using a colon `@code{:}' to separate
+them. See @ref{Installation directory} and @ref{Linking} to learn more on
+the @code{PATH} variables and dynamic linking respectively.
+
@cindex GPL Ghostscript
@item
@command{$ make check}: @emph{The tests relying on external programs