My Oracle Support Banner

Database Installation fails with Error:"/usr/bin/gcc: Permission denied" (Doc ID 2186140.1)

Last updated on OCTOBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


Database  Installation  fails with error:

Example: on RHEL6:

INFO: /u01/app/oracle/product/ line 31: /usr/bin/gcc: Permission denied

INFO: /u01/app/oracle/product/ line 31: exec: /usr/bin/gcc: cannot execute: Permission denied

INFO: genclntsh: Failed to link

INFO: make: *** [client_sharedlib] Error 126

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/app/oracle/product/'. See '/u01/app/oraInventory/logs/installActions2016-05-07_10-44-38AM.log' for details.
Exception Severity: 1
INFO: Adding ExitStatus STOP_INSTALL to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -4
INFO: Shutdown Oracle Database 12c Release 1 Installer




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

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