ITEM: E3027L

Having problems running a C programm.




Question:

Level 3.2.0

Program compiles fine, but at run time there is an error which reads:

Could not load \
Could not load lib libxt.a[shr4.0]
No such file or directory


Response:

The problem is that the search path embedded in the PATH of
the .loader section of her executable contains a bogus search path that has
overridden the default search path of /usr/lib:/lib.  This search path is used
by the system loader when it is trying to dynamically resolve symbols. 

If the LIBPATH environment variable is set in the shell environment when
the link is done, the path contained in LIBPATH will override the default
path of /usr/lib:/lib.  Unset LIBPATH and relinked.  Problem solved.

NOTE: use dump -nv appname to see the loader section of an XCOFF executable.


Support Line: Having problems running a C programm. ITEM: E3027L
Dated: October 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:54
Comments or suggestions? Contact us