Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 5734  / 3 Years ago, mon, july 5, 2021, 3:42:40

After reading the answers to my previous question I have come to the conclusion that an answer to the following question is what I was actually looking for:



Does a particular version of the kernel require a particular version of libc to run properly?



Basically my problem stems from building an application on my 12.04 ubuntu and trying to run it on 8.04. I have since learned from this and other stackexchange forums that it is backward compatibility of libc that causes these problems. Therefore what I am perhaps naively trying to do is build the same version of libc that exists on my target and then link against that on my host when I build the application. Then in an ideal world when I copy this to the host, having been linked to the "correct" libc it should work (in my head at least). I have been totally unable to find a way to install an older libc on my system, and wondered if each version is tightly bound to a kernel version, hence the above question.


More From » 12.04

 Answers
4

Does a particular version of the kernel require a particular version of libc to run properly?




Yes, unless you build the kernel yourself from source with your preferred libc version. The Ubuntu kernels are built on the LTS release prior to the target release, so the "latest" Ubuntu kernels compatible with 8.04 libc were those for Ubuntu 9.10.


[#36907] Tuesday, July 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
truwom

Total Points: 101
Total Questions: 99
Total Answers: 100

Location: Ivory Coast
Member since Tue, Sep 15, 2020
4 Years ago
truwom questions
;