My Oracle Support Banner

Occi "Undefined References" Linking Libocci.So.10.1 With Libstdc++.So.6 (Doc ID 554045.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Building an OCCI application on SuSE Linux Enterprise (SLES) 10 fails with the
following link errors:
/vobs/tps_binary/lib/linux-x86_64/debug/libocci.so: undefined reference to
`std::allocator<char>::deallocate(char*, unsigned long)'
/vobs/tps_binary/lib/linux-x86_64/debug/libocci.so: undefined reference to
`std::allocator<char>::allocate(unsigned long, void const*)'
/vobs/tps_binary/lib/linux-x86_64/debug/libocci.so: undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)'
/vobs/tps_binary/lib/linux-x86_64/debug/libocci.so: undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned long)'

If libstdc++.so.5 is installed the above errors disappear but the following warning is issued:
ld: warning: libstdc++.so.5, needed by /appl/local/oracle/10.2.0/lib/libocci.so, may conflict with
libstdc++.so.6

Cause

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
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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