Re: dlopen problem
From: Gary R. Hook (nospam_at_nospammers.net)
Date: 08/01/03
- Next message: Gary R. Hook: "Re: Moving /home out of rootvg"
- Previous message: Gary R. Hook: "Re: Newbie: Patch Updates"
- In reply to: Albert Chin-A-Young: "Re: dlopen problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 01 Aug 2003 15:28:02 GMT
Albert Chin-A-Young wrote:
>>I'm trying to dlopen a library on AIX 5.1 but getting errno == ENOEXEC.
>>dlerror() returns nothing. This library has other dependencies. If I
>>compile the main program without -brtl, the dlopen works. With -brtl,
>>the dlopen fails with ENOEXEC. What does the error mean and how can I
>>resolve this?
>
> Problem was an unresolved symbol.
Correct. Use dump -Tv to look at the loader symbol table, and
ensure that all ".." imports are going to be resolved by other
modules in the process. This known problem will hopefully
be fixed some day (the issue is currently getting some attention,
I believe). It works without -brtl because ".." imports are
_only_ handled by the runtime linking component, which is
only invoked if the main app is linked with -brtl.
-- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE ________________________________________________________________________
- Next message: Gary R. Hook: "Re: Moving /home out of rootvg"
- Previous message: Gary R. Hook: "Re: Newbie: Patch Updates"
- In reply to: Albert Chin-A-Young: "Re: dlopen problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|