[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master eacbcb8: Known issues solution to LD_LIBRARY_P

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master eacbcb8: Known issues solution to LD_LIBRARY_PATH re-written in book
Date: Mon, 12 Feb 2018 06:23:16 -0500 (EST)

branch: master
commit eacbcb8b610a2b3503643beef8fe3b5076661ee3
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    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.
 THANKS                       |  1 +
 doc/announce-acknowledge.txt |  3 ++-
 doc/gnuastro.texi            | 23 ++++++++++++++---------
 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                        address@hidden
     Alfred M. Szmidt                     address@hidden
     Michel Tallon                        address@hidden
+    Juan C. Tello                        address@hidden
     Éric Thiébaut                        address@hidden
     Ignacio Trujillo                     address@hidden
     David Valls-Gabaud                   address@hidden
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}
address@hidden 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
address@hidden/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
address@hidden directory} for more details.
address@hidden 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
address@hidden/.bashrc} file and restart your terminal. Don't forget to change
address@hidden/usr/local/lib} if the libraries are installed in other
+(non-standard) directories.
-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 address@hidden:}' to 
+them. See @ref{Installation directory} and @ref{Linking} to learn more on
+the @code{PATH} variables and dynamic linking respectively.
 @cindex GPL Ghostscript
 @command{$ make check}: @emph{The tests relying on external programs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]