Knowledge Base
Searching in : Article
ID: AR08D00414
Applies to: NX Server Products
Added on: 2006-08-25
Last Update: 2010-01-21

How to fix NX Server 'error while loading shared libraries' issues

Starting from version 2.0.0, installing NX client and NX node is a prerequisite for installing NX server.  When you get an error similar to:

NX> 700 Output: /usr/NX/bin/nxserver: error while loading shared
libraries: /usr/NX/lib/perl/IO.so: cannot open shared object file: No
such file or directory.

it is likely NX Node has not been correctly installed.  This may happen when you are installing either the NX Node and NX Server compressed TAR packages and you do not run the nxnode and nxserver setup scripts to install the software.

When you want to install from a tar.gz package you basically need to :

  • Decompress the NX node package in the /usr directory:
    # cd /usr
    # tar zxvf nxnode-version.i386.tar.gz
  • Run the NX node setup script:
    # /usr/NX/scripts/setup/nxnode –-install
  • Decompress the NX server package in the /usr directory:
     # cd /usr
     # tar zxvf nxserver-version.i386.tar.gz
  • Run the NX server setup script:
    # /usr/NX/scripts/setup/nxserver –-install