Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So i often have the problem that i work on applications that need different versions of the same library. I can usually not have two versions of the same library installed but i can link to specific local versions. However if these libraries again depend on differnt version of something else i'm quickly getting into "dependency hell". I understand (i think) the benefits of sharing libraries but frankly i would prefer if every program/lib would come with everything it needs. Is there any linux distro out there that tried something like this ? would it be possible ?

Thanks!

share|improve this question
    
I have no clue what you're talking about. It's very easy to have multiple versions of the same library installed provided they use different sonames. –  Ignacio Vazquez-Abrams Dec 4 '10 at 20:29
    
@Ignacio: "provided they use different sonames" is exactly the problem. Surprisingly, this is one area in which Windows is better that Linux in fixing DLL Hell. (I will get flamed, for sure) –  harrymc Dec 4 '10 at 22:02
    
@harrymc: It really isn't, except in the case of some fringe libraries. Library developers for the most part do use sonames properly. –  Ignacio Vazquez-Abrams Dec 4 '10 at 22:04

2 Answers 2

There is a website for sta.li, a linux distro where everything is statically linked. But it does not have much documentation and only a 23MB tarball, so I highly doubt it's anything near usable.

Some applications offer statically linked versions, though. Ubuntu package search

share|improve this answer

The dependancy probelm mainly occurs when you are compiling one pacakge manually or installing a single deb or rpm package that you downloaded. It will be a good idea to use the package manager provided in your distro to install the packages. In ubuntu you can use the apt-get or in redhat based distro you can use yum package managers. You need to add the 3rd party repositories like http://rpmfusion.org/ , if the package that you are looking for is not in the distro default repository.

share|improve this answer
    
Yeah sure it is one solution to stick with the distribution offers you, but if you want bleeding edge versions of certain programs that won't work ;( –  Joe Dec 4 '10 at 21:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.