Application compiled with GNU compilers crashes with "referenced symbol not found"

(Doc ID 1500664.1)

Last updated on MARCH 08, 2017

Applies to:

Solaris Operating System - Version 10 3/05 to 11 11/11 [Release 10.0 to 11.0]
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

A application compiled with the gnu compiler crashes on


A "referenced symbol not found" runtime linker error is observed. Examples:

libstdc++.so.6: symbol _ZNSt11char_traitsIcE2eqERKcS2_: referenced symbol not found
fatal: relocation error: file a.out: symbol _ZNSi6ignoreEv: referenced symbol not found

 



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms