IBM Support

On Linux, running the db2mdapiclient command results in an error about loading the shared library libibmc++.so.1.

Question & Answer


Question

If your installation of DB2 and DWE Cube Views are both at v8.1 FP11 (aka v8.2 FP4) level on Linux, and you run the db2mdapiclient on the command line, you will get the following error: db2mdapiclient: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory

Cause

The IBM XL C/C++ Advanced Edition V7.0 for Linux Runtime Environment Component is not installed on the Linux computer.

Answer

Install the IBM XL C/C++ Advanced Edition V7.0 for Linux Runtime Environment Component.

Follow the instructions here:



http://www-1.ibm.com/support/docview.wss?uid=swg24007906

Once this piece is installed, re-run db2mdapiclient at the command line.

[{"Product":{"code":"SS6HAH","label":"DB2 Cube Views"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Troubleshooting","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.2","Edition":"Enterprise","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21249819