http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54260
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2012-08-16 07:24:56 UTC --- (In reply to comment #3) > 99 /home/Feto/sw/gcc/build/./gcc/cc1: error while loading shared libraries: > libmpc.so.2: cannot open shared object > file: No such file or directory You failed to inform the dynamic linker where to find libmpc.so. Set LD_LIBRARY_PATH to something like "/usr/local/lib:".