An error is reported when the Oracle 11g client is installed in the shared database of the build client.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.