Find the answer to your Linux question:
Results 1 to 2 of 2
I have a file where it is recognized as an ELF executable, but when i try to run it, it gives me an error. $ file elf elf: ELF 32-bit ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    1

    ELF problems


    I have a file where it is recognized as an ELF executable, but when i try to run it, it gives me an error.


    $ file elf
    elf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
    for GNU/Linux 2.
    0.0, dynamically linked (uses shared libs), not stripped

    $./elf
    ./1234: cannot execute binary file

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Posts
    2

    Re: ELF problems

    Maybe your "elf" is trying to call an executable file "1234" through execv() or system(), but "1234" is not a validate ELF



    Quote Originally Posted by phantom1nc
    I have a file where it is recognized as an ELF executable, but when i try to run it, it gives me an error.


    $ file elf
    elf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
    for GNU/Linux 2.
    0.0, dynamically linked (uses shared libs), not stripped

    $./elf
    ./1234: cannot execute binary file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •