Building a program is failed due to fstat64 or fstat referenced by a DSO
Issue
-
Building a program is failed with the following message.
/usr/bin/ld: test: hidden symbol `fstat64' in /usr/lib64/libc_nonshared.a(fstat64.oS) is referenced by DSO
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.