[uClibc] dlopen on link fails
Erik Andersen
andersen at codepoet.org
Mon Oct 6 17:33:54 UTC 2003
On Mon Oct 06, 2003 at 04:42:26PM +0200, Tobias Anderberg wrote:
> The following code snippets segfaults on i386 (cvs head) and
> cris:
>
> #include <dlfcn.h>
>
> int
> main(void)
> {
> void *a = dlopen("/lib/libc.so.0", RTLD_LAZY);
>
> return 0;
> }
>
> Opening /lib/libuClibc-0.9.21.so succeeds.
>
> Any clues?
Hmm. Well uClibc is already loaded so trying to dlopen it seems
sufficient to kill it... Which is odd though since I try to
prevent dlopening duplicate libraries. I'm not sure _why_ but
I'll take a look at it.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list