We are using a network system install of PGI-9.0-3 on Linux.
We are building a fortran executable with -Bstatic_pgi.
On running ldd on this executable when the LD_LIBRARY_PATH has
/network-dir/pgi-903/9.0-3/share_objects/lib64
% ldd test.exe
librt.so.1 => /lib64/librt.so.1 (0x000000356da00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000356c600000)
libm.so.6 => /lib64/libm.so.6 (0x000000356be00000)
libc.so.6 => /lib64/libc.so.6 (0x000000356ba00000)
/lib64/ld-linux-x86-64.so.2 (0x000000356b600000)
On removing /network-dir/pgi-903/9.0-3/share_objects/lib64 from LD_LIBRARY_PATH
% ldd test.exe
librt.so.1 => /lib64/librt.so.1 (0x000000356da00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000356c600000)
libm.so.6 => /lib64/libm.so.6 (0x000000356be00000)
libc.so.6 => /lib64/libc.so.6 (0x000000356ba00000)
/lib64/ld-linux-x86-64.so.2 (0x000000356b600000)
libpgf90.so => not found
libpgf90_rpm1.so => not found
libpgf902.so => not found
libpgf90rtl.so => not found
libpgftnrtl.so => not found
libpgc.so => not found
This is very strange behavior that we are seeing with -Bstatic_pgi.
Any explanation as to what is happening here would be greatly appreciated.