Could not
load program lftran: Dependent module libC.a(shr.o) could not be loaded
invoking lftran
Technote
(troubleshooting)
Problem(Abstract)
Could not load program lftran: Dependent
module libC.a(shr.o) could not be loaded invoking lftran
Symptom
GENTRAN: Server for UNIX, All releases
Cannot invoke lftran from command line.
Change: AIX 5.2 upgraded from ML 3 to 5.
Error Message
Invoking lftran from command line errors:
Could not
load program lftran:
Dependent module libC.a(shr.o) could not be loaded.
Could not load module libC.a(shr.o).
System error: No such file or directory
Dependent module libC.a(shr.o) could not be loaded.
Could not load module libC.a(shr.o).
System error: No such file or directory
Pointing to libC.a from ML 3 produces
secondary error:
Could not
load program lftran:
Dependent module /gentran/server60/prod/lib/libC.a(ansi_32.o) could not be loaded.
Member ansi_32.o is not found in archive
Dependent module /gentran/server60/prod/lib/libC.a(ansi_32.o) could not be loaded.
Member ansi_32.o is not found in archive
Resolving the problem
Solution
Force UNIX user id invoking lftran to find
original /usr/vacpp/lib/libC.a
Edit environment variable LIB_PATH; add /usr/vacpp/lib and make sure it precedes $EDI_ROOT/lib path (see below example):
>:echo
$LIBPATH
/usr/vacpp/lib :$EDI_ROOT/lib
/usr/vacpp/lib :$EDI_ROOT/lib
Historical Number
TRB1396