1752778 Members
5774 Online
108789 Solutions
New Discussion

Re: shared libraries

 
SOLVED
Go to solution
Duffster
Valued Contributor

shared libraries

Hi,

 

I am running RHEL 5 and have installed sqlplus on a remote client in order to connect to an oracle db (on same vlan).

 

rpm -hiv oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.i386.rpm
Preparing...                ########################################### [100%]
   1:oracle-instantclient11.########################################### [100%]


But when I run an ldd I get the following:

# ldd /usr/bin/sqlplus
/usr/bin/sqlplus: error while loading shared libraries: /usr/bin/libsqlplus.so: ELF file data encoding not little-endian

 

When I attempt to connect to the db:

# sqlplus username/passowrd@ip_address:port/SSID                   #substituted with my own credentials

sqlplus: error while loading shared libraries: /usr/bin/libsqlplus.so: ELF file data encoding not little-endian

 

I have the correct libs on the db server is there any way I can copy these across and reload them to overcome this issue?

 

R,

D.

 

2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: shared libraries

>error while loading shared libraries: /usr/bin/libsqlplus.so: ELF file data encoding not little-endian

 

What does "file /usr/bin/libsqlplus.so" show?

 

>is there any way I can copy these across and reload them to overcome this issue?

 

Why not copy them over?  What you have is useless now.  Does file(1) show anything better?

Duffster
Valued Contributor
Solution

Re: shared libraries

Thanks for the feedback.

 

I have successfully installed the oracleclient and connected to the db - used a different version in the end (downgraded to 10_2_ and it worked fine).