Re: build flags/options

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

 



On 05/18/2010 03:46 PM, Ian Lance Taylor wrote:
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

Yes of course you are right. I forgot the variable would change when I su'ed into root to do the 'make install'. Doh! Anyway added a couple of lines to ld.so.conf and ran ldconfig and all is well.

Thanks to everyone who posted to this thread. Sorry for the unnecessary noise.

Mike

[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