/usr/bin/ld: Cannot Find -lstdc++_nonshared
(Doc ID 1328359.1)
Last updated on NOVEMBER 22, 2019
Applies to:Oracle XML Developers Kit - Version 18.104.22.168 and later
Precompilers - Version 10.2.0.1 to 22.214.171.124 [Release 10.2 to 11.2]
***Checked for relevance on 28th Mar 2016***
When building a C++ XDK or Pro*C application on any of these Linux platforms (Linux x86-64 with SuSE Linux Enterprise Server 10, SuSE Linux Enterprise Server 11, and Red Hat Enterprise Linux 5) may produce the following error during compilation.
This bug is not only specific to Linux but specific to certain versions as listed above.
Although the Oracle documentation states to "Contact your operating system vendor.", it is unclear what it means.
The C++ XDK demos and Pro*C++ Static demos fail to link with the -lstdc++ library giving the following error on Linux x86-64 with SuSE Linux Enterprise Server 10, SuSE Linux Enterprise Server 11, and Red Hat Enterprise Linux 5:
/x86_64-suse-linux/bin/ld: cannot find -lstdc++_nonshared
Contact your operating system vendor.
This issue is tracked with Oracle bug 8396301.
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