Linking Applications with Oracle Client Libraries for Linux
You must use the dynamic Oracle client libraries to link the client code on Linux.
Do not link the static Oracle client libraries.
Parent topic: Issues Affecting Linux for Oracle Database 19c