[uClibc] dlopen / dlsym
Erik Andersen
andersen at codepoet.org
Thu Jun 24 22:52:07 UTC 2004
On Thu Jun 24, 2004 at 03:52:48PM -0700, Michael O'Brien wrote:
> I'm porting a app to use uclibc and so far so good.
>
> I've run into a problem that looks similar to past postings, but can't
> find the resolution.
>
> dlopen works and dlsym returns a pointer. Going indirect on that pointer
> to initialize the shared library gives a seg fault. The code works well
> without these calls and under gcc these calls work fine.
>
> Is there a known issue with dlsym?
>
> I'm using the latest uClibc snapshot and an IX86 toolchain. The shared
> library I'm loading has no external dependencies.
>
> Any guidance -- appreciated.
"under gcc these calls work fine" suggests you are using
something other than gcc? What toolchain are you using?
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list