Silvio a Beccara wrote:
Good morning,
I installed the gpc with gcc binary on a Linux machine (file gpc-2.1-with-gcc.i686-pc-linux-gnu.tar.gz), executed install-gpc-binary, updated ~/.bashrc with GPC_EXEC_PREFIX, but when I try to execute gpc, I get the following error:
gpc: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by gpc)
So I put the library libc-2.3.3.so in the directory /home/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2 and updated the library path, putting in ~/.bashrc the following line:
LIBRARY_PATH=$LIBRARY_PATH:/clx/userunivts/utsts007/silvio/src.dev3.old/old/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2
but the error does not go away. On another machine, it goes like a breeze. Does anybody have a solution?
Typical shared library version problem, unfortunately still seems to be common with Linux glibc. The best solution is usually to compile GPC yourself.
Frank