Originally Posted by Antartica
The only way I think this could work (without having a package manager to track dependencies), is to have every program have all the needed dependencies and making the install script deletes the duplicated ones.
The script you described sounds like the best way to do it. With more and more programs being ported, all these duplicate libraries are getting a bit ridiculous. If you want to write that, that would be great.