Can an application which was built in an old Linux version run in latest Linux? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionHere is an example. If I built an application in SUSE Linux Enterprise Server 10, and it can run in this environment well. Now I switch to SUSE Linux Enterprise Server 11. But I don't rebuild the application, and I directly run it in SUSE11. What's the problem if I do it? If the application can still run, are there any开发者_Go百科 potential problems? Is the performance worse? Many system libraries are different, so I guess maybe there are some problems even if it can run.
There will be problems only if the libraries the application depends on changed their ABI. A typical example is if it uses libpng 1.4, but on the newer system, libpng 1.5 is installed. Since they are incompatible, you will need to rebuild it, or find the appropriate .so file.
If there is no dependency, everything will be fine. The Glibc is always compatible between versions.
You won't know until you try. Install the newer SUSE onto a virtual machine and test-run the application.
精彩评论