Re: Compiling problem with gcc4.5 libgcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/05/2010 09:53 AM, Jezuch wrote:
> 
> Yes, I did. I did from the Downloads/mpc

In which case, its LD_LIBRARY_PATH entry is not "/home/../src/.libs"
It's the install dir.


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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux