In
1./var/tmp to find libme.sl found
2./var/tmp to find libc.sl not found
3./usr/lib/libc.sl found
In IPF
1.LD_LIBRARY_PATH (if set) to find libme.sl not found
2.SHLIB_PATH (if set) to find libme.sl not found
3./var/tmp to find libc.sl not found
4.LD_LIBRARY_PATH (if set) to find libc.so not found
5.SHLIB_PATH (if set) to find libc.so not found
6./var/tmp to find libc.so not found
7./usr/lib/hpux32/libc.so found
◦
$ cc +DD64 main.o
Link the program.
$ mv libme.sl /var/tmp/libme.sl
Move libme.sl. $ a.out
Run the program.
The dynamic loader searching order is the same in
1.LD_LIBRARY_PATH (if set) to find libme.sl not found
2.SHLIB_PATH (if set) to find libme.sl not found
3./var/tmp to find libme.sl found
4.LD_LIBRARY_PATH (if set) to find libc.so/libc.sl not found
5./var/tmp to find libc.so/libc.sl not found
6./var/tmp to find libc.so/libc.sl not found
7./usr/lib/pa20_64/libc.sl
Symbol Searching in Dependent Libraries
In IPF
86 Linker Toolset Differences Between