Thread: dlopen problem
View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 07:01 PM
Albert Chin-A-Young
 
Posts: n/a
Default Re: dlopen problem

Albert Chin-A-Young <china@foo.com> 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.

> Also, I tried running truss against the main program to see what
> libraries it loaded but apparently truss doesn't list the libraries it
> loads. Sigh!


--
albert chin (china @at@ thewrittenword .dot. com)
Reply With Quote