make error:at upgrading to gcc 4.5.2(from 4.4.3)(suffix error)

Ian Lance Taylor iant@google.com
Sun Jun 5 09:21:00 GMT 2011


"eric lin" <ericlin@fsshl.zzn.com> writes:


This is your problem:

> /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory

To quote the FAQ you already looked at:

    required libraries for the GCC build are missing, specifically MPFR,
    GMP and MPC. If installed as shared libraries they must be in the
    runtime linker's search path so they can be found.

Ian



More information about the Gcc-help mailing list