Problem trying to execute a "application/x-executable" on Linux Mint.
Hi, I am new at Linux(Mint) and I was trying to install Cryptocat(app for encrypted online chatting). After a while trying to understand how the "terminal" worked I put "sudo chmod +x ./Cryptocat" which happens to be name of the "application/x-executable" file of the extracted folder and then "sudo ./Cryptocat", but I get the errors:
./Cryptocat: 1: ./Cryptocat: ELF: not found ./Cryptocat: 1: ./Cryptocat: Syntax error: word unexpected (expecting ")") And I cant get to install the program, if somebody would please help me I would be really glad. Thank you. |
Some points.
You didn't need to chmod +x the executable file as it was already executable. As far as I know, you shouldn't be running the executable as sudo. You don't need to be running the executable from the command line. Double-clicking the icon in your file manager should do the trick. The program doesn't install. It is what you might call a standalone portable. You just run it in its folder (or even better, create a shortcut to the executable using whichever Desktop Environment you happen to be using and use that on your Desktop or in a launcher). On my system (Mint KDE), either double-clicking the Cryptocat icon or running ./Cryptocat on the command line within the relevant Cryptocat folder launches the Cryptocat program. P.S. Welcome to the forum! |
it is possible to start an executable from the shell, as shown by op.
although sudo really shouldn't be necessary. however, the output provided indicates that the shell reads it as a script, saying that there's something in line 1 that it doesn't understand. this makes me think that this isn't the actual cryptocat executable, but some error occured when downloading? gerovidal, how did you download/copy that file and where from? as much info as possible, please. |
Quote:
So, the question is, why is the command line trying to execute it as a shell script? It is most definitely ELF-executable and the file command describes it as: Code:
Cryptocat: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=043adf6e43c30fe834785d6b1a83966458dd03be, stripped |
All times are GMT -5. The time now is 01:11 PM. |