Have you set the $PATH and $LD_LIBRARY_PATH ?
I had the same problem with postcfg and loadjava on the OID installation and saw this the first time on a 9iAS install with loadjava. It could not find the libX11.so.4 libraries.
The loadjava program sets the $LD_LIBRARY_PATH. If you have already set this environment variable to recognize the proper directories, you need to identify the programs where it overrides your environment variables and edit them to include the proper directories.
Good luck.
David Knight
OCP DBA 8i, 9i, 10g