Link to home
Start Free TrialLog in
Avatar of aashee
aashee

asked on

ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

How to fix this issue ?

[pflsml@vfx-lap-1][~/hype-1.3-redhat] - file hype
hype: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size
Avatar of arnold
arnold
Flag of United States of America image

use
readelf -h hype
There error deals with file being unable to access/read the header section of the program.
The creators may have used this option to make it harder for individuals to reverse engineer/deconstruct their application.

It should run as intended.
Avatar of aashee
aashee

ASKER

i get below result , when i do this command.

[.......-lap-1][~/hype-1.3-redhat] - readelf -h hype
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 4c 69 6e 75 78 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       76
  Type:                              EXEC (Executable file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x8048080
  Start of program headers:          52 (bytes into file)
  Start of section headers:          0 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         2
  Size of section headers:           0 (bytes)
  Number of section headers:         0
  Section header string table index: 0


so what's the purpose of running this command. it tells more details about the file. but what about the error?
please help ?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aashee

ASKER

not it does not work. when i type ./hype

below error comes


[....@...-lap-1][~/hype-1.3-redhat] - ./hype
./hype: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
This is a separate issue from the header corruption.

Did you receive an error during configuration or while running make or is this a compiled distribution.
You need to get the missing librarry.
yum search gtk2
yum install gtk2-x.y.z
This is what provides the missing library.
x.y.z represent the version available for your system.