Compiling problem with gcc4.5 libgcc

Jezuch tunkl.tomas@gmail.com
Wed May 5 08:50:00 GMT 2010


So I found the file and I added it like this:
export LD_LIBRARY_PATH="/home/../src/.libs"
But it did not work. So I am configuring it again and I will start all over
again. Is it correct?



Andrew Haley wrote:
> 
> 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.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Compiling-problem-with-gcc4.5-libgcc-tp28457624p28458276.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list