The case for the /usr merge
The case for the /usr merge
Posted Jan 27, 2012 14:51 UTC (Fri) by RobSeace (subscriber, #4435)In reply to: The case for the /usr merge by mpr22
Parent article: The case for the /usr merge
True enough... But, if it's just some obscure rarely used feature, I'd think it makes sense anyway... Even if you don't want to indirect all API calls through dlsym() and such, what you could do is separate out all the code that interacts with that library into a sort of plug-in library of its own, needing just one simple call into that lib from the main app to do everything... The separate lib can still directly call all functions from the system library with no confusing indirection, and even be linked against it if you want... (Or, the main app can just dlopen(RTLD_GLOBAL) it prior to dlopen()'ing this separate lib...)
