Results 1 to 3 of 3

Thread: cannot execute binary file

  1. #1
    Join Date
    Oct 2009
    Beans
    164

    cannot execute binary file

    I have a file that can be executed by double-clicking it, but when trying to execute it command line, it doesn't work. I get "cannot execute binary file"

    Code:
    ml@ThinkPad-Edge:~/arkivdigital$ dir
    adclient2_en_US.qm  arkivdigital-online  license_en_us.html
    ml@ThinkPad-Edge:~/arkivdigital$ bash arkivdigital-online
    arkivdigital-online: arkivdigital-online: cannot execute binary file
    ml@ThinkPad-Edge:~/arkivdigital$
    What am I doing wrong?

  2. #2
    Join Date
    Nov 2012
    Beans
    12

    Re: cannot execute binary file

    ml@ThinkPad-Edge:~/arkivdigital$ bash arkivdigital-online
    Instead cd to the directory the file is located and run the command:
    Code:
    ./arkivdigital-online
    The ./ tells it to run the file from the current directory.

  3. #3
    Join Date
    Oct 2009
    Beans
    164

    Re: cannot execute binary file

    Thanks, it's working now

Tags for this Thread

Bookmarks

Posting Permissions

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