Original message: Was there any change recently that may have affected the handling of --with-mpfr? I have my own version of mpfr installed under ~/opt/mpfr, which I pass to --with-mpfr as always (I do the same with gmp under ~/opt/gmp). I always do this, but now, it seems that I can't use the shared libraries: /tmp/myroot/build/gcc/build64/./gcc/xgcc: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory The file is definitely in ~/opt/mpfr/lib, but that's not being passed on to xgcc. On 7/18/07, Saurabh Verma <saurabh.verma@xxxxxxxxxx> wrote:
Are you sure, you have ~/opt/mpft/lib in your LD_LIBRARY_PATH
No, it's not. But it never was before. --with-mpfr should specify the root, and set --with-mpfr-lib and --with-mpfr-include accordingly. If it didn't, then that makes --with-mpfr-lib pretty useless... From ./configure --help: --with-mpfr=PATH specify prefix directory for installed MPFR package. Equivalent to --with-mpfr-include=PATH/include plus --with-mpfr-lib=PATH/lib