Re: build flags/options

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

 



mike <mikereape@xxxxxxxxxx> writes:

> On 05/17/2010 12:46 PM, Richard Guenther wrote:
>>
>> You need to set your LD_LIBRARY_PATH environment to point
>> to the installed libraries or ensure to configure your ld.so to pick
>> them up.
>>
>> Richard.
>>    
> Hi, I did that and the build ran all the way through.  Thanks to
> Richard and Sandy.  'make -k check' also looks pretty good.
>
> But now I get the same problem when doing 'make install' in the same
> shell, i.e.,
>> test -z "/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.0" ||
>> /bin/mkdir -p "/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.0"
>> Installing dummy lib libgcj_bc.so.1.0.0
>> /home/mike/GCC-obj-dir/./gcc/cc1: error while loading shared
>> libraries: libmpc.so.2: cannot open shared object file: No such file
>> or directory

This kind of problem is normally fixed by setting LD_LIBRARY_PATH.
Are you sure that it is still set, and that it includes the directory
where libmpc.so.2 can be found?  I'm not aware of anything which would
remove an existing setting of LD_LIBRARY_PATH.

Ian

[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