build flags/options
Ian Lance Taylor
iant@google.com
Tue May 18 15:22:00 GMT 2010
mike <mikereape@onetel.com> 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
More information about the Gcc-help
mailing list