IBM Support

Missing libstdc++ and glibc-devel packages on RHEL6

Troubleshooting


Problem

If the 32-bit libstdc++ and glibc-devel packages are not installed on Red Hat Enterprise Linux 6 (RHEL6), error messages are generated when configuring XL C/C++ for Linux or XL Fortran for Linux compilers supporting RHEL6.

Symptom

If the 32-bit libstdc++ and glibc-devel packages are not installed on your RHEL6 system, you might see the following error messages when configuring XL C/C++ for Linux or XL Fortran for Linux compilers on RHEL6.

When using xlc_install or new_install to configure the compiler, the following message is generated:
lap/lapc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
ERROR: License NOT accepted.
ERROR: Default compiler configuration file could not be generated.

When using vac_configure to configure the compiler, the following message is generated:


ERROR: Could not obtain "/usr/bin/gcc -m32" -v output.  Ensure you have both 32-bit and 64-bit GCC installed from your operating system install media.

[{"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install\/Setup\/Configuration","Platform":[{"code":"PF016","label":"Linux"}],"Version":"11.1;12.1","Edition":"Not Applicable","Line of Business":{"code":"LOB73","label":"Power TPS"}},{"Product":{"code":"SSAT4T","label":"XL Fortran for Linux"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install\/Setup\/Config","Platform":[{"code":"","label":"Linux on Power systems"}],"Version":"13.1;14.1","Edition":"Not Applicable","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 August 2018

UID

swg21455584