question about -blibpath flag in C/C++ compiler on AIX.
-blibpath is path for finding shlibs at runtime.
if I compile my program
#cc bla.c -o bla -blibpath:/home/user/mylib:.
I can not run the binary ./bla
because loader can not load module libc.a(shr.o).
As I understand this flag overwrite standart path to
new one for finding shlibs at runtime.
How can I avoid this problem without any environment variables?
so that my application will be able to find all standart libraries and
my libraries at runtime.