Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The ultimate ditrection this is headed is not to build a static linked application, it is to supply a VM image that runs your app. Why be dependent on the host kernel version, for example?
Distribution: Red Hat Enterprise Linux, Mac OS X, Ubuntu, Fedora, FreeBSD
Posts: 89
Rep:
Quote:
Originally Posted by smallpond
The ultimate ditrection this is headed is not to build a static linked application, it is to supply a VM image that runs your app. Why be dependent on the host kernel version, for example?
No, I don't see that happening. Applications should not be dependent on the kernel version of an operating system, if they are the developers have done something horribly wrong. Even Microsoft managed to get this right, you can still run MS-DOS and 16-bit Windows applications on the latest editions of 64-bit Windows, that amounts to 33 years of backwards compatibility. If you can't rely on the operating system to run your applications then what good is it, the whole purpose of an operating system is to run applications.
Applications should not be dependent on the kernel version of an operating system, if they are the developers have done something horribly wrong. Even Microsoft managed to get this right, you can still run MS-DOS and 16-bit Windows applications on the latest editions of 64-bit Windows
Not necessarily true. Microsoft maintained ABI-compatibility until Windows 8. They deliberately broke it for Windows 8 in order to remove a lot of crud from their kernel and libraries.
My point being,. if the source archive just 'came with' everything it needed, libraries included, then it wouldn't be such a ... troubleshooting process ... to compile and install software.
Actually, it would be a lot worse. Because those libraries, etc. would also have dependencies on other libraries, headers, macros, compiler versions and even possibly kernel versions.
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,744
Rep:
Quote:
Its a thought anyway. Sure there are a million intricate reasons why packaging and installation can't be simplified, and a million more why we need dependencies still.
Anyone know the reasons?
Someone else may have already mentioned this: security.
If each package drags in their private copy of some bit of code, when that code is found to contain a security flaw you'll have to fix (recompile, download/reinstall, whatever...) every single piece of software that used that. Wouldn't it be easier to fixed the shared library? As long as the interface doesn't change, applications that used that bit of code now get to use the new bit of code without having to be recompiled. Or am I missing something?
OK... this is a special purpose system (firewall) and doesn't need a lot of RAM. I don't even try to run a GUI on it though at one time it was possible (if memory serves, the video card stopped being supported by X11 some years ago). Without shared libraries I suspect this box might be swapping madly just from me checking log files.
Last edited by rnturn; 11-18-2014 at 12:51 PM.
Reason: fixed typo
Developers of snappy apps get much more freedom to bundle the exact versions of libraries that they want to use with their apps. It’s much easier to make a snappy package than a traditional Ubuntu package – just bundle up everything you want in one place, and ship it.
Last edited by szboardstretcher; 12-12-2014 at 03:18 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.