2014-12-16

error while loading shared libraries: libclntsh.so.11.1

error while loading shared libraries: libclntsh.so.11.1

Sometimes you may have a 32bit application which try to use the 64bit oracle client.
Solution : install oracle 32bit client and set oracle_home and other parameters accordingly.


To BottomTo Bottom

In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

APPLIES TO:

Hyperion BI+ - Version 11.1.1.0.00 to 11.1.2.3.503 [Release 11.1]
Linux x86-64

SYMPTOMS

Unable to run SQR after installation on Linux, getting error: sqr: error while loading shared libraries: libclntsh.so.11.1: wrong ELF class: ELFCLASS64

CAUSE

Missing Oracle 32-bit client libraries in SQR's environment.

SQR is only finding the incompatible 64-bit Oracle libraries and throwing an error.
Starting with Oracle 11 the 32-bit client libraries don't get installed automatically on 64-bit systems. 

SOLUTION

Make sure the Oracle 32-bit client libraries are installed and in SQR's environment. If installed they're usually in the ORACLE_HOME/lib32 directory. 
The location of the Oracle 32-bit client libraries has to be added to the LD_LIBRARY_PATH.

Niciun comentariu:

Trimiteți un comentariu