This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-help Digest 17 Jul 2007 16:12:44 -0000 Issue 2448


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@codito.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]