On 23 Dec 2008 at 14:40, Kevan Hashemi wrote:
Dear Prof O,
I installed your 20070904 version of GPC on my Red Hat Linux machine. When I run gpc I get the following error, which I believe indicates that my operating system needs to be updated.
[hashemi@brndcdf hashemi]$ cd /pascal/bin [hashemi@brndcdf bin]$ ls binobj gpc gpc-run gpidump [hashemi@brndcdf bin]$ ./gpc ./gpc: /lib/libc.so.6: version `GLIBC_2.4' not found (required by ./gpc) ./gpc: /lib/libc.so.6: version `GLIBC_2.3.4' not found (required by ./gpc) [hashemi@brndcdf bin]$ strings /lib/libc.so.6 | grep GLIBC GLIBC_2.0 GLIBC_2.1 GLIBC_2.1.1 GLIBC_2.1.2 GLIBC_2.1.3 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.3 GLIBC_2.2.4 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_PRIVATE
The GPC version you compiled for me seems to include GCC 4.1.2. Does that sound right? Am I correct in thinking that my system is too old for the new GPC?
That GPC version was compiled under a recent release of ubuntu. Clearly, its libc is more recent than yours.
Remember this conversation?
If you find one, it may not work.
So far, that 20041218 distribution of binaries has worked on every single one of the two dozen machines we have loaded it onto. Why would the 20070904 distribution fail to work?
That is precisely what I referring to - i.e., as I said then, "Much depends (unless everything is linked statically) on the system on which it was built, and how different that system (and its libraries) is from yours."
If GPC is built on an older system (e.g. FC2 or FC3) then it may well work on your linux box. The alternative is to update your libc - but that is an option that I would not recommend.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/