RE: Issues with uClibc dlopen, dlsym on MIPS RouterStation Pro
Mattes, David <david.mattes <at> boeing.com>
2010-11-12 18:10:47 GMT
Ahh, that helped tremendously. Thank you.
> -----Original Message-----
> From: Will Newton [mailto:will.newton <at> gmail.com]
> Sent: Friday, November 12, 2010 9:22 AM
> To: Mattes, David
> Cc: uclibc <at> uclibc.org
> Subject: Re: Issues with uClibc dlopen, dlsym on MIPS RouterStation Pro
> On Fri, Nov 12, 2010 at 4:51 PM, Mattes, David
> <david.mattes <at> boeing.com> wrote:
> > I have an application that loads a shared library using dlopen and
> maps functions from the library with dlsym. Unfortunately dlopen
> always returns "File not found" error and the dlsym calls always return
> NULL. I know the library is there. Strace returns nothing useful
> > I am running OpenWRT backfire 10.03 and have tried with uClibc
> 0.9.30.1 and 0.9.30.3. Any suggestions on how to hunt this down?
> > Thanks!
> dlopen will return "File not found" if the dynamic object you are
> trying to open has a missing dependency, it's worth running readelf -d
> on teh object you are dlopening to see if there are NEEDED entries and
> if these are satisfied on your system.