segmentation fault for everything
i'm a novice with linux. I'm working on a workstation that has Red hat 7.3.
I was trying to run a application (executable is called "sub" and it's written in C and fortran) and i got an error message saying:
./sub: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libg2c.so.0)
./sub: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libstdc++.so.5)
so i went to another linux box and copied the file libc.so.6 to this computer. Immediately it gave me a 'segmentation fault' error. I can't do anything now. It gives me 'segmentation fault' for everything (ls, cp, rm,...).
how do i fix this problem?