/usr/bin/ld: Cannot Find -lstdc++_nonshared
Last updated on FEBRUARY 08, 2017
Applies to:Oracle XML Developers Kit - Version 22.214.171.124 and later
Precompilers - Version 10.2.0.1 to 126.96.36.199 [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.
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