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 10.2.0.5 and laterOracle 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.
Symptoms
Database Installation fails with error:
Example: 12.1.0.2 on RHEL6:
INFO: /u01/app/oracle/product/12.1.0.2/bin/orald: line 31: /usr/bin/gcc: Permission denied
INFO: /u01/app/oracle/product/12.1.0.2/bin/orald: line 31: exec: /usr/bin/gcc: cannot execute: Permission denied
INFO: genclntsh: Failed to link libclntshcore.so.12.1
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/12.1.0.2/rdbms/lib/ins_rdbms.mk'. 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
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 |
Cause |
Solution |