Quote:
Originally Posted by Reuti
The error message can be misleading: what is missing might be the interpreter. If you execute:
Code:
$ readelf -l /home/tmp2/database/install/.oui
you will see a line like:
Code:
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
or:
Code:
[Requesting program interpreter: /lib/ld-linux.so.2]
If the 32 bit version is missing, it might be necessary to install ia32-libs. Otherwise check the header:
Code:
readelf -h /home/tmp2/database/install/.oui
whether it’s the right one for your architecture.
|
[oracle@localhost ~]$ readelf -l /home/tmp2/database/install/.oui
Elf file type is EXEC (Executable file)
Entry point 0x800022ec
There are 8 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000080000040 0x0000000080000040
0x00000000000001c0 0x00000000000001c0 R E 8
INTERP 0x0000000000000200 0x0000000080000200 0x0000000080000200
0x0000000000000011 0x0000000000000011 R 1
[Requesting program interpreter: /lib64/ld64.so.1]
LOAD 0x0000000000000000 0x0000000080000000 0x0000000080000000
0x000000000001b4f4 0x000000000001b4f4 R E 1000
LOAD 0x000000000001b4f8 0x000000008001c4f8 0x000000008001c4f8
0x0000000000000470 0x0000000000004130 RW 1000
DYNAMIC 0x000000000001b520 0x000000008001c520 0x000000008001c520
0x00000000000001a0 0x00000000000001a0 RW 8
NOTE 0x0000000000000214 0x0000000080000214 0x0000000080000214
0x0000000000000020 0x0000000000000020 R 4
GNU_EH_FRAME 0x0000000000019a58 0x0000000080019a58 0x0000000080019a58
0x00000000000003bc 0x00000000000003bc R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 8
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
03 .ctors .dtors .jcr .dynamic .got .data .bss
04 .dynamic
05 .note.ABI-tag
06 .eh_frame_hdr
07
[oracle@localhost ~]$