My Oracle Support Banner

On OL or RHEL Linux OS, Oracle Database Libraries Can Not Link With Solaris Studio Compiler Due To gcc attribute __weakref__ and Gives an Error as undefined reference to ‘__gthrw_pthread_cancel’ (Doc ID 1588487.1)

Last updated on NOVEMBER 05, 2021

Applies to:

Oracle Solaris Studio - Version 12.3 and later
Linux x86
Software Versions:
Solaris Studio 12.3
Linux 2.6.32-279.el6……..
Gcc 4.4.6
Oracle client lib 11.2.0

Symptoms

Oracle Database ( OCCI ) libraries using studio 12.3 on RHEL 6 and gcc 4.4.6, can not link. It gives unresolved linker error such as undefined reference to ‘__gthrw_pthread_cancel’

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.