PDA

View Full Version : Where to find /lib/ld-linux.so.2



001Canada
14th September 2010, 05:23 AM
Hi all,

I tried to install Oracle 10G R2 and got error message as below:

[oracle@localhost database]$ ./runInstaller
./runInstaller: /home/oracle/database/install/.oui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

I find there two directories named lib and lib64. There i s no ld-linux.so.2 in lib64. So where do I get it?

Please help me!

marko
14th September 2010, 05:44 AM
The "yum provides <filename>" command can get that information:


# yum provides /lib/ld-linux.so.2
glibc-2.12.90-10.i686 : The GNU libc libraries
Repo : fedora
Matched from:
Filename : /lib/ld-linux.so.2

glibc-2.12.90-11.i686 : The GNU libc libraries
Repo : installed
Matched from:
Other : Provides-match: /lib/ld-linux.so.2

and now for the 64 bit version that would be in /lib64:


# yum provides /lib64/ld-linux-*.so.2
glibc-2.12.90-10.x86_64 : The GNU libc libraries
Repo : fedora
Matched from:
Filename : /lib64/ld-linux-x86-64.so.2

glibc-2.12.90-11.x86_64 : The GNU libc libraries
Repo : installed
Matched from:
Other : Provides-match: /lib64/ld-linux-x86-64.so.2
(I used the * after noticing the 64bit filename has a different name, I could have spelled it out
too: yum provides /lib64/ld-linux-x86_64.so.2 )

so basically it looks like you need glibc.i686, which you don't have by default because you have
the 64bit Fedora

Also, are you sure you have the 64bit version of Oracle? It looks like you're trying to install 32 bit Oracle on a 64bit platform. That can work but it seems unusual.