Christer Solskogen <christer.solskogen@xxxxxxxxx> writes: > I installed (from source) gmp, mpfr, mpc, ppl, cloog, binutils and gcc > in the same PREFIX. Everything compiled just fine. But running gcc is > another matter, or in fact, cc1. cc1 is missing a lot of libraries: > > libcloog-isl.so.1 => not found > libisl.so.6 => not found > libppl_c.so.4 => not found > libppl.so.9 => not found > libgmpxx.so.4 => not found > libmpfr.so.4 => not found > libgmp.so.10 => not found > libdl.so.2 => /lib64/libdl.so.2 (0x0000003e20200000) > libc.so.6 => /lib64/libc.so.6 (0x0000003e1fe00000) > /lib64/ld-linux-x86-64.so.2 (0x0000003e1fa00000) > > Should't gcc find those automagicly? No. You need to set LD_LIBRARY_PATH or install those libraries in a place where the system dynamic linker can find them by default, or add the directory where they are installed to /etc/ld.so.conf. If you built the supporting libraries yourself, the simplest approach is to use --disable-shared when you configure them. Ian