NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: oracle in COMPAT_LINUX



On Thu, Oct 04, 2012 at 09:05:33AM +0200, Martin Husemann wrote:
> Can you post the output of
>       readelf -l 
> /emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle

An interesting point: the command below is able to launch the binary:
/emul/linux/lib/ld-linux.so.2 
/emul/linux/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle

Here is readelf output:
Elf file type is EXEC (Executable file)
Entry point 0x8287f0c
There are 8 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  PHDR           0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4
  INTERP         0x000134 0x08048134 0x08048134 0x00013 0x00013 R   0x1
      [Requesting program interpreter: /lib/ld-linux.so.2]
  LOAD           0x000000 0x08048000 0x08048000 0x46578bc 0x46578bc R E 0x1000
  LOAD           0x46578c0 0x0c6a08c0 0x0c6a08c0 0x3ea3c 0x5c438 RW  0x1000
  DYNAMIC        0x4694200 0x0c6dd200 0x0c6dd200 0x00150 0x00150 RW  0x4
  NOTE           0x000148 0x08048148 0x08048148 0x00020 0x00020 R   0x4
  GNU_EH_FRAME   0x4657714 0x0c69f714 0x0c69f714 0x0004c 0x0004c R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version 
.gnu.version_r .rel.dyn .rel.plt .init .plt .text .text1 .fini .rodata 
.eh_frame_hdr .eh_frame 
   03     .data .data1 .dynamic .ctors .dtors .jcr .got .bss 
   04     .dynamic 
   05     .note.ABI-tag 
   06     .eh_frame_hdr 
   07 

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index