sorry to trouble, but I have no idea about this

Ian Lance Taylor
Tue Apr 28 15:00:00 GMT 2009

jerry zhai <> 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: cannot open shared
> object file: No such file or directory


More information about the Gcc-help mailing list