Score:0

Upgrade to Ubuntu 21.10 just fine ... but did we forget backwards compatibility!

cn flag

Someone please tell me I am having a nightmare and soon i'll wakeup and everything will be fine.

I have two machines both at 20.04. A few day ago I decided to upgrade one of them to 21.04 ( now at 21.10 ). Apart from the GNOME issues I noticed nothing strange until today when I recompiled my APP on 21.10 and tried to run it on 20.04, and papalala...

After spending a couple of hours searching for answers without success I wrote the following infamous program:

#include <stdio.h>
int main(){ printf("hello World!!\n");}

I compiled it on 21.10 machine ( gcc hello.c ), and I run it on 20.04, to get the same error as my APP

a.out: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by a.out)

Any ideas anyone what is going on? A straight ANSI C program requires a special lib on 20.10 that does not exist in previous installations ....

Thanks, ps: Yes, gcc is the at the latest version on either system, and is different. But why should I care about this???

user535733 avatar
cn flag
This question seems like a rephrasing of https://unix.stackexchange.com/questions/137434/are-there-any-linux-distributions-that-focus-on-binary-backward-compatibility, and those answers seem appropriate.
N0rbert avatar
zw flag
ABI changed. Why do expect other? Use LTS everywhere.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.