C++ Program Fails With "symbol __SUNW_init_wiostreams: referenced symbol not found"

(Doc ID 1006896.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.3 [Release 6.0 to 12]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)


A C++ application fails on Solaris[TM] 8 or newer with "symbol __SUNW_init_wiostreams: referenced symbol not found".
Example error message

ld.so.1: myprogram: fatal: relocation error: file myprogram: symbol __SUNW_init_wiostreams: referenced symbol not found



The problem shows up only if one of the following C++ shared runtime library patches was applied:

The application worked fine before the patch was applied.


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