Why do I get an unexpected termination of nxagent 3.x on Solaris with error 'libXpm.so.4.11 ... No such file or directory'
The X11 agent depends on the libXpm graphics library. With nxagent version 3.x, the libXpm library needs to be installed on the system. When NX 4.0 is released, libXpm will be shipped together with a new NX library collecting all the objects files and X extension libraries.
When nxagent is unable to find the libXpm library either because it is not installed or because it is located into a path different from the agent search path, the session fails to start with error:
NX> 596 Error: Unexpected termination of nxagent process.
System logs on server side report:
ld.so.1: /usr/NX/bin/nxagent: fatal: libXpm.so.4.11: open failed: No such file or directory
This issue is likely to occurr on Solaris 8, since its default installation doesn't include libXpm. This library can be retrieved from for example the SunFreeWare repository:
http://www.sunfreeware.com
The libXpm library is installed in the /usr/local/lib directory. Since this path is not among the paths where nxagent 3.x looks for system libraries, a symbolic link must be created:
# ln -s /usr/local/lib/libXpm.so.4.11 /usr/lib/libXpm.so.4.11
