Page tree
Skip to end of metadata
Go to start of metadata

"Failed to load LM-X Client library!" error

When running License Statistics on Linux (for example, on Red Hat Enterprise), you may see an error similar to the following:

Failed to load LM-X Client library!

This problem may occur because of two reasons:

Reason 1

For SELinux, an LM-X-enabled application must have textrel_shlib_t to run. The LM-X client tries to add this library during runtime, but if the current user does not have permissions to modify the SELinux configuration, you can use one of the following methods to fix this problem (with the first option being the preferred one):

Option 1

Disable SELinux by following this procedure.

Option 2

Ask your administrator to issue the following command to add textrel_shlib_t:

semanage fcontext -a -t textrel_shlib_t '/tmp/xf-dll/xf-.*\.tmp'

If either of the workarounds suggested above do not work, try to use the solution below to get the issue fixed.

Reason 2

The noexec option, which is part of RHEL 7 hardening policy, is set up on temporary files. You may need to deactivate it as described below.

  1. Modify the /etc/fstab file.
  2. Remove the noexec option in /tmp line.
  3. Remount the tmp filesystem.