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

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

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux