building and running a software in different linux kernel versions


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users building and running a software in different linux kernel versions
# 1  
Old 05-29-2008
building and running a software in different linux kernel versions

my Querry is

if i build a software on a specific linux kernel [ older version ]
and then try to run it on another linux kernel [ new version ]

....what can be the possible problems
or what errors can most probably appear while running the binary in an updated version of linux.
# 2  
Old 05-29-2008
Unless the program specifically uses some kernel facility which changed between the two versions, nothing much. More likely you will bump into problems with different library versions used by the program; again, those might ultimately depend on some particular kernel version, but typically, they don't. If the older version is very old (pre-2.6 or even pre-2.4) then some things like iptables have changed significantly, but those issues are the exception rather than the norm.

If you are using an rpm or deb package, it explicitly lists what versions of which libraries and other external dependencies it needs. It is rather unusual for these to depend on a particular kernel, but rather frequently, there is a dependency on a particular libc/glibc version.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. High Performance Computing

Building Linux cluster for mechanical engineering software

Hello everybody, I'm new here in the forum and first i will greet everybody. Also I'm new with the issue of HPC, but I have to inform my urgently. My issue: I'm a mechanical engineer, specialised on simulation like fluid dynamics (CFD) and FEM. Especially I'm programming software for... (6 Replies)
Discussion started by: biro
6 Replies

2. Android

Running only the Linux kernel of an Android device

I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device. The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Discussion started by: raoulney
0 Replies

3. UNIX for Advanced & Expert Users

What are these kernel versions?

2.6.32-028stab094.3 x86_64 vs 2.6.32-5-amd64 x86_64 and where can i download the first one? thx (1 Reply)
Discussion started by: suffeks
1 Replies

4. UNIX for Advanced & Expert Users

building a kernel (with a twist)

Hey all, I am working on a static analysis tool and I wan't to see if it can find bugs in the linux kernel, it uses LLVM framework to analyse the instructions. Long story short I need to build the kernel with a custom compiler. The compiler will create byte code files where binaries usually... (2 Replies)
Discussion started by: zigga15
2 Replies

5. Linux

Kernel sources/module building

Hi All, I've seen people build modules against a certain kernel source (eg in /usr/src/kernels/my_source/) and some people build against the sources in /lib/modules/my_source/build/ What is the difference and are there any benefits to using the /lib/modules source? Regards, Brendan (0 Replies)
Discussion started by: Brendan Kennedy
0 Replies

6. UNIX for Dummies Questions & Answers

Software Versions

I need to collect the software versions for various pieces of software installed on my SunOS box. is there a software listing somewhere? Any help on how to do that would be very much appreciated. Thanks, GBWR (3 Replies)
Discussion started by: GBWR
3 Replies

7. SuSE

Madwifi - Only kernel versions 2.4.x are supported.

I have seen this problem posted before, but I have never seen an answer. I have searched a few different Linux forums and exhaustively Googled the problem, but again, I have only seen a solution. I am hoping someone who has experienced this problem was able to solve it and can pass their... (0 Replies)
Discussion started by: LinuxN00bie
0 Replies

8. Cybersecurity

Unix tracking software versions

I want to maintain a repository to track versions of common daemons running on several platforms such as apache, ssh, mysql; so that i can asociate vulnerabilities for each version of sw, Does anyone know if there is a project about this requirement? I search for projects in sourceforge, freshmeat... (2 Replies)
Discussion started by: Nektar
2 Replies

9. UNIX for Dummies Questions & Answers

Knowing installed software versions

Hello, Is there any command or something to know the versions of the softwares installed ? Similar to the registry in Windows, is there anything in Unix ...? We are shifting our server to other one ... so we need to install the same versions on other server also .. Please advice, ... (3 Replies)
Discussion started by: Jayathirtha
3 Replies
Login or Register to Ask a Question