3 ms·
(late, but replying anyway) Multiple versions of a library are certainly possible with C, but are generally avoided on Debian where possible. Where that isn't
by duskwuff 16y ago
(late, but replying anyway)
Multiple versions of a library are certainly possible with C, but are generally avoided on Debian where possible. Where that isn't possible -- for instance, for libraries which completely changed their API like gtk1.4 -> gtk2, they simply create completely separate packages for the two versions.
With gems, this isn't quite so easy, as there's no way to distinguish between a minor bugfix and a huge API-breaking change without either guessing based on the version number or having a human read the changelog. Even then, there's no guarantee that dependent packages will depend on distinct sets of versions.