AIX 4.2.1, C for AIX 4.3 (I think).
I have a program, the source of which is:
I can compile and link an executable for this fine.Quote:}
However, when you try to run the program without the $LIBPATH
environment variable set to anything, the following errors occur:
exec(): 0509-036 Cannot load program testt because of the following
0509-022 Cannot load library libc.a[shr.o].
0509-026 System error: A file or directory in the path name
does not exist.
We have never set LIBPATH to anything in the past and we have been
able to compile, link, and execute C programs fine. When I set
LIBPATH to include /usr/lib, the program executes successfully.
However, something has transpired on our box which deserves mention.
Because we had intended to upgrade our Oracle Pro*C/C++ precompiler to
version 8.1.6, we thought we had to install C for AIX 4.4, which we
After this I started to have some problems with our old programs, so I
decided I would like to roll the C compiler back to version 4.3, which
I did. I feel stranger things are happening now, like the errors
I am not comfortable that there are still not traces of C for AIX 4.4
messing things up on the box. It seems like things are out of whack
somewhere. Has anyone tried to downgrade their AIX C compiler before?
Are there gotchas I don't know about? Anyone have any ideas?