LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-13-2014, 02:31 PM   #31
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,069

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244

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?
 
Old 11-14-2014, 01:31 AM   #32
nbritton
Member
 
Registered: Jun 2013
Location: Dubuque, IA
Distribution: Red Hat Enterprise Linux, Mac OS X, Ubuntu, Fedora, FreeBSD
Posts: 89

Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
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.

Last edited by nbritton; 11-14-2014 at 01:57 AM.
 
Old 11-15-2014, 10:36 AM   #33
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Quote:
Originally Posted by nbritton View Post
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.
 
Old 11-15-2014, 10:41 AM   #34
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Quote:
Originally Posted by szboardstretcher View Post
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.
 
Old 11-15-2014, 10:46 AM   #35
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Quote:
Originally Posted by szboardstretcher View Post
But these days, custom compilation yields very little improvement
Not true. Custom compilation can yield consideration improvement in performance in many cases.
 
Old 11-15-2014, 04:34 PM   #36
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,744

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
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?

--
Rick
 
Old 11-18-2014, 01:36 AM   #37
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
Quote:
Originally Posted by gengisdave View Post
(Ok, everyone has 4+ GB on his pc...)
Actually, some of us are still using PC's with only 2 GB of ram.
 
Old 11-18-2014, 12:51 PM   #38
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,744

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Quote:
Actually, some of us are still using PC's with only 2 GB of ram.

Code:
$ free
             total       used       free     shared    buffers     cached
Mem:        126448      83820      42628          0      38820      34772
-/+ buffers/cache:      10228     116220
Swap:       136512       5180     131332
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
 
Old 11-19-2014, 02:12 AM   #39
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,617

Rep: Reputation: Disabled
You (the OP) have "Docker" in your signature, but don't even mention it (or containers) once. How does that fit with your original question?
 
Old 12-12-2014, 03:17 PM   #40
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
After wondering this whole thing aloud - Ubuntu seems to be doing away with dependencies and libraries with Ubuntu Core and Snappy.

http://www.markshuttleworth.com/archives/1434
Quote:
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./testSo: error while loading shared libraries: libsy.so: cannot open shared object rohaanembedded Programming 5 06-03-2013 08:23 AM
error while loading shared libraries: libcrypt.so.1: cannot open shared object file: xmixail Linux - Kernel 15 07-29-2012 09:39 PM
honeyd: error while loading shared libraries: libdnet.1: cannot open shared object fi secbuddy Linux - Software 2 12-24-2011 03:01 PM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Newbie 6 07-29-2010 02:49 PM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Server 1 07-29-2010 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration