My Oracle Support Banner

Working with on Linux With either or (Doc ID 1351395.1)

Last updated on NOVEMBER 02, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [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
Linux x86-64


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 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 and what to do if 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
Troubleshooting Steps
 Determining which library is linked with
 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.