diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-01-23 09:41:27 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-01-23 09:41:27 +0000 |
commit | 5c08712e7b1f7589fee1f659b50af3abf8c7fcab (patch) | |
tree | 0c9cc0c35c9c04b33bc9417d196a7a3f763d4a54 | |
parent | 4a8e99ee28b7d0b0db916579b48917eeca56bac1 (diff) | |
download | mpfr-5c08712e7b1f7589fee1f659b50af3abf8c7fcab.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.
(merged changeset r12122 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12123 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tests.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/tests.c b/tests/tests.c index 4c6975442..bbeaf785e 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); } |