My Oracle Support Banner

Working with libocci.so.10.1 on Linux With either libstdc++.so.5 or libstdc++.so.6. (Doc ID 1351395.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 10.2.0.5 [Release 10.1 to 10.2]
Linux x86-64
***Checked for relevance on 28th Sep 2016***

Purpose

When working with OCCI on Linux there is a tight constraint and some confusion related to the version of the g++ compiler used along with libocci.so.10.1 and the associated g++ standard library for which it is linked. When building applications or more evident when distributing applications from one machine to the next (without rebuilding) possible issues can arise including core dumps.

Some of the different behaviors that can be experienced will vary based on the scenario in which the application is built and/or distributed. For example, but not limited to the following:
- warnings during the linking phase when building custom applications
- core dumps
- memory leaks
- undefined symbol during execution

This Note should help provide an understanding how it is determined which g++ library is linked with libocci.so.10.1 and what to do if libocci.so.10.1 is linked with different standard libraries on different machines.


Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
 Determining which library is linked with libocci.so.10.1
 Which g++ compilers are supported?
 Steps for troubleshooting

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.