Compiling problem with gcc4.5 libgcc

Andrew Haley aph@redhat.com
Wed May 5 08:51:00 GMT 2010


On 05/05/2010 09:50 AM, Jezuch wrote:
> 
> 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?

No.

Did you install mpc with "make install"?

Andrew.


> 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.
>>
>>
>>
> 



More information about the Gcc-help mailing list