tags: notabug On 2025-08-11 02:30, 吴浩杰 wrote:
./sdiff: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./sdiff)
...
Do you have any suggestions on how to resolve this? For example, the error message mentions using the --no-discard-stderr option with help2man. Could you please advise how to properly use this option to bypass or handle the error during the build process? Alternatively, is there a recommended way to skip generating the manual pages during build when running in this kind of cross-compilation environment?
This has nothing to do with help2man, and bypassing manual page generation won't help, as you have built executables that don't run.
To fix the problem, build on a system compatible with your runtime environment. It is typically OK to build on one version and then run on a later version, as great efforts are made to support backward compatibility. The reverse (which is what you are trying to do) often does not work.
