Thread: dlopen problem
View Single Post

   
  #1 (permalink)  
Old 01-04-2008, 06:59 PM
Albert Chin-A-Young
 
Posts: n/a
Default dlopen problem

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?

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