Home Comp/Tech Culture Politics Religion and Philosophy Creative Works

OFB Community Mailing Lists

The following archives are provided as a public service to the community. Opinions archived here do not necessarily represent the opinions of Open for Business or its contributors.

[CS-FSLUG] The Advantages of Dependency Hell

Leon Brooks xtiansrc at leon.brooks.fdns.net
Mon Feb 21 22:42:54 EST 2005


On Tuesday 22 February 2005 09:33, Don Parris wrote:
> Why is there no dependency hell in Windows?

There is. Each Windows installer to date has had its own way of doing 
things, it's own way of keeping track of what it needs and what's 
installed. Programs typically install their own libraries, which is 
kind of like static linking under Unix but not as neat.

The classic "DLL hell" problem from Win9X days, somewhat but not 
completely alleviated by MS Windows 2000 and successors, is that one 
installer will write a file into C:\WINDOWS\SYSTEM\ which is a slightly 
enhanced version of a system library (say VBRUN600.DLL) which it 
requires. Then another installer will silently stomp that VBRUN600.DLL 
with its own required, slightly altered copy. Now the first program is 
broken, but maybe not obviously. Maybe it silently fails to update 
General Ledger totals for a few months until somebody notices (listen 
for the scream). Then a Windows update installs a later version on 
VBRUN600.DLL without any of the enhancements, or with one or both of 
them implemented in a different way, and both programs are broken.

> Is it because the devs include all the necessary libraries in
> their program?  Should I assume this is an inefficient coding
> practice? 

Yes.

Just tell your Linux packages what you require (glibc >= versionX, 
libSDL, whatever) and let the package manager sort it all out 
automagically.

Cheers; Leon



More information about the Christiansource mailing list

The Danger of Peacemaker

By Timothy R. Butler

Here is a story. The leaders of a church have a personal agenda against someone and want to quiet him, exact revenge or what have you. They not only come at him within their church, they continue by following him outside of that church to any other church he seeks refuge at and any place he works, making a wreck of his life in the process. That is the sort of thing that only happened in the past, in dusty tales of witch-hunts in Salem or the Inquisition in Spain, right? Wrong: it is happening today, perhaps at a seemingly normal church near you.

Help Us Serve You

Open for Business strives to serve up the most interesting, relevant content possible; however, we can only do so with your help. Please take a few moments to fill out our online survey so that we can learn more about the interests of our readers, readers such as you.

Tap the Power of
Snow Leopard

Looking to get acquainted with Apple's latest operating system? Mac OS X Snow Leopard Bible, the definitive Mac OS X reference, features OFB's own Timothy R. Butler alongside Galen Gruman and Mark Hattersley.

Home About OFB RSS Feed
© 2001-2010 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. Powered by ServerForest and SAFARI.