Subject: Re: dlopen problems
To: Anders Hogrelius <email@example.com>
From: Chuck McManis <firstname.lastname@example.org>
Date: 07/16/2001 16:28:02
At 01:05 AM 7/17/01 -0700, Anders Hogrelius wrote:
>On Mon, 16 Jul 2001, Christos Zoulas wrote:
> > Which line does it die on? Compile it with -g and run it through gdb.
>It dies on the row which has the call (*foo)();.
You checked to see if the pointer to foo was actually found in your library
right? Did it die with a SEGV ? (my guess)
You may have to resolve _foo, I assume the dlopen succeeded since you made
it past the dlsym call.