Working with libocci.so.10.1 on Linux With either libstdc++.so.5 or libstdc++.so.6.
(Doc ID 1351395.1)
Last updated on JANUARY 04, 2020
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 to 10.2.0.5 [Release 10.1 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
***Checked for relevance on 28th Sep 2016***
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.
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
|Determining which library is linked with libocci.so.10.1|
|Which g++ compilers are supported?|
|Steps for troubleshooting|