This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build flags/options


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
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory `/home/mike/GCC-obj-dir/i686-pc-linux-gnu/libjava'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/home/mike/GCC-obj-dir/i686-pc-linux-gnu/libjava'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/mike/GCC-obj-dir/i686-pc-linux-gnu/libjava'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/mike/GCC-obj-dir/i686-pc-linux-gnu/libjava'
make[1]: *** [install-target-libjava] Error 2
make[1]: Leaving directory `/home/mike/GCC-obj-dir'
make: *** [install] Error 2
Sorry if this is a dumb question.

Mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]