Q207969: GCC_4.2.0 not found on Solaris 10 zero touch inventory

Symptoms

When attempting to perform zero-touch inventory on a Solaris 10 machine it may fail with an error such as:
Failure reason:
- Execution on remote host returned non-zero exit code (137).
Stderr:
ld.so.1: ndtrack: fatal: libgcc_s.so.1: version `GCC_4.2.0' not found (required by file /export/home/flexnet/ndtrack.5807/sunossparc/bin/../lib/libstdc++.so.6)
ld.so.1: ndtrack: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed

Cause

This error appears for one of 2 main reasons:
  1. The GCC library version is incorrect
  2. The GCC library location is not registered to system PATH so is not available for applications to use

Resolution

To resolve this issue you either need to ensure GCC 4.2.0 is installed or ensure it is registered to the system PATH, assuming that it's installed in the default location of /usr/sfw/bin you can register it using a bash shell command such as:
export PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin

Comments

Powered by Zendesk