Hi, I need to install gcc-4.7-SVN onto a machine where I don't have root access. I'd like to install with the /kurs/cpp prefix. For doing so, I configure like CFLAGS='-L/kurs/cpp/lib' LDFLAGS="-L/kurs/cpp/lib -Wl,-rpath,/kurs/cpp/lib" \ ./configure --prefix=/kurs/cpp --enable-languages="c++" \ --with-gmp=/kurs/cpp --with-mpfr=/kurs/cpp --with-mpc=/kurs/cpp Still I get a configure error when the new gcclib is built: configure:3540: checking for suffix of object files configure:3562: /kurs/cpp/Src/gcc-4.7-110729/host-i686-pc-linux-gnu/gcc/xgcc -B/kurs/cpp/Src/gcc-4.7-110729/host-i686-pc-linux-gnu/gcc/ -B/kurs/cpp/i686-pc-linux-gnu/bin/ -B/kurs/cpp/i686-pc-linux-gnu/lib/ -isystem /kurs/cpp/i686-pc-linux-gnu/include -isystem /kurs/cpp/i686-pc-linux-gnu/sys-include -c -g -L/kurs/cpp/lib conftest.c >&5 /kurs/cpp/Src/gcc-4.7-110729/host-i686-pc-linux-gnu/gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory There is a valid symlink /kurs/cpp/lib/libmpc.so.2 to /kurs/cpp/lib/libmpc.so.2.0.0 and ldd /kurs/cpp/lib/libmpc.so.2.0.0 doesn't show any problems. So, what am I missing for building gcc-4.7-SVN in my case. Many thanks for a hint, Helmut. -- View this message in context: http://old.nabble.com/Installing-with-non-standard-prefix-fails---please-help-tp32363695p32363695.html Sent from the gcc - Help mailing list archive at Nabble.com.