| ▲ | vinyl7 43 minutes ago | |
Software A depends on version 1.34.5678 but my software requires version 1.35.678 and unfortunately 1.35.678 breaks Software A that needs 1.34.5678 and so now I need two DLLs on my machine anyway so all the complexity was for nothing. Now all software just bundles their own copy of the DLL. Then I want to use Library Z but it requires version 1.45 of the DLL and I need to use 1.47 for a new feature but it is incompatible with Library Z and so now there is a conflict that can't be resolved. Software T requires version 2.3 but my Linux distribution only ships version 1.8 and so I can't use that software until the distro updates at some indeterminate time in the future. Software G requires version 2.3 but Ubuntu ships version 1.7 and Gentoo ships 1.97 and Debian only has 1.6 installed so the number of linux distros that can run the software is limited. | ||
| ▲ | paaloeye 21 minutes ago | parent [-] | |
This is DLL hell, well-known problem. Replace DLL with Python, NPM, Java and you have exactly the same problem. If dynamic linking is used right, it has a lot of advantages. libSystem/dyld_shared_cache in darwin/XNU is a good example how to do it right. | ||