On Jun 30, 2009, at 18:27 , Boyd Stephen Smith Jr. wrote:
Newer versions of glibc should run programs compiled against older versions of glibc as long as the SO_NAME (and maybe SO_VERSION?) hasn't changed. You may want to report this segfaults as bugs in 11.1.
...unless the binary is (partly) static and calls e.g. getpwuid() (see Andreas' mail). I thought the binary in question was fully dynamic, but I was probably wrong.
When compiling on 11.1 and executing on 10.3, the linker gives an error: : lee$; /usr/local/gromacs/405/fftw312-gcc412/bin/pdb2gmx -f 1UBI.pdb
/usr/local/gromacs/405/fftw312-gcc412/bin/pdb2gmx: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/local/gromacs/405/ fftw312-gcc412/bin/pdb2gmx)
The glibc package for 10.3 probably doesn't provide libc.so. 6(GLIBC_2.7). In general compiling on a newer system and running on an older systems isn't supported. There's no good way to "fix up" an old version to match the new version, but you can "fix" a new version to match an old version.
OK, fair enough.
A quick check seems to indicate that 11.0 will run binaries compiled on either 10.2 or 11.1, so we have some leeway. Is there any hope to compile a binary that will run on both 10.3 and 11.1?
You may have to install some compatibility libraries on the 11.1 system. I do not have a 10.3 system around to investigate.
There is a glibc-obsolete rpm, but it does not seem to install anything other than an empty directory. Thank you for your reply. A. -- Ansgar Esztermann DV-Systemadministration Max-Planck-Institut für biophysikalische Chemie, Abteilung 105 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org