IBM Support

How to resolve oninit error: /lib64/libstdc++.so.5: version `CXXABI_1.2' not found

Troubleshooting


Problem

This article describes a possible problem on a Linux distribution with a kernel version of 2.6 depending on the version of library libstdc++

Symptom


The oninit executable can at startup return an error on some Linux distributions like Redhat Entreprise Server 4 x86_64 ( Kernel 2.6.9-34.0.2.ELsmp #1 SMP) with IBM® Informix® Dynamic Server™ 10.00.FC4 and 10.00.FC5

Example

$ oninit
oninit: /lib64/libstdc++.so.5: version `CXXABI_1.2' not found (required by oninit)


On some Linux distributions, libstdc++.so.5 does not exist or is linked with
/usr/lib64/libstdc++.so.6.0.3 like libstdc++.so.6. On Redhat Linux
Entreprise Server x86_64 the rpm package installed is
libstdc++-3.4.5-2.x86_64.rpm (64bits package) and
compat-libstdc++-33-3.2.3-47.3 (32bits package) and the following files are installed:

$ rpm -ql libstdc++
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.3
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.3
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

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

More support for:
Informix Servers

Software version:
10.0

Operating system(s):
Linux

Document number:
85377

Modified date:
16 June 2018

UID

swg21244766

Manage My Notification Subscriptions