Today, my colleague reported that the installation of the Oracle 11g client on RedHat 5.5 has been unsuccessful. For the error, see:
View the specific error information as follows:
Information: Build a client shared library
Information: Build a client shared library
Information: the output of this make operation can also be obtained in '/home/oracle/app/oracle/product/11.2.0/client_1/install/make. log'
Information:
Information: Start from the derivative process output:
Information :----------------------------------
Information:
Information:/home/oracle/app/oracle/product/11.2.0/client_1/bin/genclntsh
Information :/
Information: usr/bin/ld: crtbeginS. o: No such file or directory
Collect2: ld returns 1
Information: genclntsh: Failed to link libclntsh. so.11.1
Information: make: *** [client_sharedlib] Error 1
Information: Terminate output from the derivative process.
Information :----------------------------------
Information: An Exception error occurs during the operation: make
Exception error name: MakefileException
Exception error string: an error occurs when the target 'client _ sharedlib 'of makefile'/home/oracle/app/oracle/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk 'is called. For more information, see '/oracle/oraInventory/logs/installActions2013-12-27_03-02-03PM.log '.
Error severity: 1
The first response is that the package is not fully loaded. Go to the official website to find the package list and install all the packages once. Then, re-install the package and check whether the package does not work. The online feedback may be about the gcc version, the following operations are performed:
Mv g ++. bak
Mv gcc. bak
Ln-s g ++ 34g ++
Ln-s gcc34 gcc
Then reinstall the client.
Recommended reading:
Configure the Oracle 11g client in RHEL/CentOS
How to install Oracle 11g on Linux
Detailed description of the installation process of Oracle 11g Database in Linux
How to install Oracle 11g R2 single-instance database on CentOS 5.6
To install Oracle Clusterware on an Oracle vmvm
Install Oracle 11 GB single-instance database on Linux under vmvm