View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 10:30 PM
Gary R. Hook
 
Posts: n/a
Default Re: Loader help, please

George Baltz wrote:

> I'm getting the following messages attempting to run a binary built on
> another system. Can someone please explain what this is *trying* to do -
> in particular, what is it trying to write/create?
>
>
> exec(): 0509-036 Cannot load program stnmap because of the following errors:
> 0509-030 Insufficient permission to create loader domain /usr/lib/libiconv.a
> 0509-026 System error: The file access permissions do not allow the specified action.
>
>
> I think it's something like bad options to the linker, but I'm not having
> much luck with the configure/build process for this program.
>


Check your LIBPATH; it should only include directories, not specific
files (existing or not). A file listed at the front of LIBPATH
implies a loader domain, and clearly this file does not have write
permission for you. Also do a dump -Hv on your app; it could be
there. If the latter, rebuild your program, but ensure your -L
options name _directories_ not files. Use -l for files.

Loader domains are documented in the AIX pubs.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
__________________________________________________ ______________________
Reply With Quote