In <8AC86F2E-5BB2-4793-9183-CF4CB8E2084F(a)gwdg.de>de>, Ansgar Esztermann wrote:
we're experiencing segfaults in binaries created on
openSUSE 10.2 when
run on 11.1 systems. These occur in getpwuid(), so I am wondering what
the expected compatibilty between glibc versions is -- shouldn't the
linker complain if the user tries to execute a binary that's too old?
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.
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
version `GLIBC_2.7' not found (required by /usr/local/gromacs/405/
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.
A quick check seems to indicate that 11.0 will run
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.
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss(a)iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'