On Tue, Apr 05, 2005 at 03:38:24PM -0700, Jeremy Huddleston wrote:
> Well, I've glossed over the dlopen() issues for now as I'm not sure the
> best way to handle that or even if it needs to be addressed. How often
> does something dlopen() a file if it doesn't know the exact filename at
> compile time?
> It seems unlikely to me that this kind of dependency
> would be introduced which wouldn't be uniquely satisfied by the RDEPEND.
> Does anyone know of a case where we'd do something like:
>
> #define LIBPNG_SONAME libpng.so.3 /* set by configure */
> dlopen(LIBPNG_SONAME)
kdelibs apps abuse it afaik.
rekall, fex, loads all drivers dependant on config files, all at
runtime via abstracted dlopen trickery....
>
> In any event, here's a patch to portage which creates the
> soname.{PROVIDE,DEPEND} files as well as a small script to create them
> where missing.
>
> Please comment.
Not liking it in bash personally, but that's me (already implemented
code akin to this in dblink.treewalk).
What about the resolver mods?
~brian
--
[email protected] mailing list