I once build and installed gcc and binutils with a wrong prefix (--prefix=/home/.../usr
) passed to the configure script.
Now I reconfigured, rebuilt and reinstalled gcc and binutils with the right prefix (--prefix=/usr
), however compiling always fails with:
$ /bin/ld: cannot find /home/../usr/lib/libc.so.6
Of course I could symlink the libraries in order to get it working, but I would like to know in which file these paths are saved and how I can change them.