My Oracle Support Banner

C++ Program Fails With "symbol __SUNW_init_wiostreams: referenced symbol not found" (Doc ID 1006896.1)

Last updated on JUNE 15, 2021

Applies to:

Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.6 [Release 6.0 to 12]
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (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 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.


To view full details, 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 a vibrant support community of peers and Oracle experts.