On 05/05/2010 09:13 AM, Cedric Roux wrote: > Jezuch wrote: >> /home/juju/Downloads/gcc/./gcc/cc1: error while loading shared libraries: >> libmpc.so.2: cannot open shared object file: No such file or directory >> This is it? > > Yes. > I am not a gcc guy, so I don't know if my answer is the > "good one," but you can add the directory where libmpc.so.2 > is to LD_LIBRARY_PATH. > You probably installed it just before compiling gcc, no? > in a non-default location? > in bash you would do > "export LD_LIBRARY_PATH=/path/to/libdir:$LD_LIBRARY_PATH" > and start again. > (But maybe what you see should not happen, so take my > words with a lot of salt. I'll let others guide you from > now on.) I think you're right. Andrew.