That is, instead of resorting to flatpaks and things of the like, why don’t we expose a way for libraries to express version information dynamically and just have those versions available and the dependant application can check if what it needs is available and just use that?

  • nyan@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    You’d also have to express all the feature and dependency information. Some packages have a lot of compile flags, some of which may be mutually exclusive. Was this package compiled against, say, gnutls or openssl, if it supports either but not both at once? What if something in a package depending on it works only if it was compiled against openssl?

    You can handle this by ensuring everything in the tree expects the same features (what most distros do) or recompiling the offending dependency with different switches if necessary (what Gentoo does). What you’re describing here sounds like a variant DLL-hell recipe.