sorry to trouble, but I have no idea about this

Ian Lance Taylor iant@google.com
Tue Apr 28 15:00:00 GMT 2009


jerry zhai <jerry.z.mystery@gmail.com> writes:

> before installing gcc, I had my own gmp 4.2.1 and mpfr 2.3.0 installed
> at location $HOME/lib/gmp and $HOME/lib/mpfr.

When you build gmp and mpfr, use --disable-shared when you configure
them.  That will avoid this problem:

> The problem troubled me most was:  cc1 kept reporting errors --- error
> while loading shared libraries: libmpfr.so.1: cannot open shared
> object file: No such file or directory

Ian



More information about the Gcc-help mailing list