> way to get the package-managers for language libraries and the distro to play together nicely and work for dependencies etc
Yes, hacking the language's package manager to talk to the distribution package manager is probably the only way to really go about solving the problem in an elegant way, and even that is not without its pain points.