On my home machine I am running
Red Hat Linux release 6.1 (Cartman) Kernel 2.2.12-20 on an i686
I was running the version of gpc expanded from
gpc-20000727.i686-pc-linux-gnu.tar.gz
everything was fine until I wanted to use the the regex unit. I downloaded rx and installed it apparently without problems. I had downloaded it on my machine at work using
Red Hat Linux release 7.3 (Valhalla) Kernel 2.4.18-3 on an i686
and everything worked beautifully.
It didn't work on my home machine so I thought that perhaps it would be sensible to upgrade gpc and see if that made the difference. I downloaded
gpc-2.1-with-gcc.i686-pc-linux-gnu.tar.gz
because I thought that would be the sensible version, following the advice on the webpage (or so I thought). I expanded the tarball and tried to compile hellow.p with the following result:
$ gpc ~/pas/hellow.p /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/gpc1: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/gpc1)
I have messed about with wrecking shared libraries before (Thank providence for sash, I say) so I took a copy of libc-2.2.5.so and symbolic-linked it to /lib/libc.so.6 and gave it a try (with sash running in a separate terminal so I could put the pieces back if things went wrong, as they did, giving another error message implying the need for further upgrades.) So I replaced the symbolic link /lib/libc.so.6 to libc-2.1.2.so and revived the system.
It will be evident that I am not a systems programmer. I would like to be able to upgrade gpc on my home machine and get everything working, but only if that won't break the touchier software such as vmware.
If I can't do this I would like to put the old version of gpc back and do without the regex unit at home, but I don't know how to do this. Could I just expand the old tarball and get the old gpc back?
Is there a way to uninstall gpc?
Advice, welcome, derision tolerated,
John O.