summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-01-23 09:40:06 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-01-23 09:40:06 +0000
commit0f03e8540b0ff3a019a3e13c24d9626f26825ee5 (patch)
tree7db33fab1f1ddabee024cb2cfe34d00a592784cc /tests
parent4c57da63179b0209d0ec9032cb98289d67c1ce49 (diff)
downloadmpfr-0f03e8540b0ff3a019a3e13c24d9626f26825ee5.tar.gz
[tests/tests.c] Mention a libtool 2.4.6 bug concerning Solaris, yielding
potential failures if a compatible MPFR version is already installed: this MPFR library is tested instead of the one that has just been built. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12122 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/tests.c b/tests/tests.c
index 98fec3d78..12423b9cf 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -217,12 +217,15 @@ test_version (void)
" * On some platforms such as Solaris, $LD_LIBRARY_PATH overrides\n"
" the rpath, and if the MPFR library is already installed in a\n"
" $LD_LIBRARY_PATH directory, you typically get this error. Do\n"
- " not use $LD_LIBRARY_PATH on such platforms; it may also break\n"
- " other things.\n"
+ " not use $LD_LIBRARY_PATH permanently on such platforms; it may\n"
+ " also break other things.\n"
" * You may have an ld option that specifies a library search path\n"
" where MPFR can be found, taking the precedence over the path\n"
" added by libtool. Check your environment variables, such as\n"
- " LD_OPTIONS under Solaris.\n"
+ " LD_OPTIONS under Solaris. Moreover, under Solaris, the run path\n"
+ " generated by libtool 2.4.6 may be incorrect: the build directory\n"
+ " may not appear first in the run path; set $LD_LIBRARY_PATH to\n"
+ " /path/to/builddir/src/.libs for the tests as a workaround.\n"
" * Then look at http://www.mpfr.org/mpfr-current/ for any update.\n"
" * Try again on a completely clean source (some errors might come\n"
" from a previous build or previous source changes).\n"
@@ -235,6 +238,9 @@ test_version (void)
/* Note about $LD_LIBRARY_PATH under Solaris:
* https://en.wikipedia.org/wiki/Rpath#Solaris_ld.so
* This cause has been confirmed by a user who got this error.
+ * And about the libtool 2.4.6 bug also concerning Solaris:
+ * https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30222
+ * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888059
*/
exit (1);
}