Martin Liddle wrote:
As part of my testing of our code compiled with gpc 20021128 based on gcc-3.2.1 I have passed some of the executables to an associate. The code was compiled (and runs) on a system running RedHat Linux 7.3. My associates system is running RedHat 7.2. He reports that attempting to run a program called manager.e fails with the message :
manager.e: /lib/libc.so.6:version: "GCC_3.0" not found (required by manager.e)
This is obviously a library problem. What do I need to do to fix it?
I don't know RH closely, but it looks like 7.2 has libs that don't work with gcc-3. One solution might be to install newer libraries (but that's uncomfortable if the executable should be distributed to many systems, and might be risky if it overwrite the system libs).
The "right" solution is probably to simply use gcc-2 since the system is not prepared for gcc-3 ...
Or, as the Chief wrote, compiling `-static' (at the cost of executable size).
Frank