Do you think we could add some kind of QA script for this? Maybe we could daily check for library linkage sanity of injected packages via cron?
Daily would be probably too often. Once a week, perhaps, a more detailed test could be run. Some check is already done during push:
no missing runtime libraries found
but I'm not sure why it doesn't (seem to) check injected packages. All needed (even "NEEDED" :P) data is already stored AFAIK… if the check uses "real" libs, not data from database, uhm, maybe it could use the latter for injected packages? (Just a random stupid idea - - I don't know well how it's implemented.)