- This topic has 25 replies, 4 voices, and was last updated Nov 19-2:05 am by briandc.
-
AuthorPosts
-
November 8, 2017 at 1:16 pm #2151Member
briandc
Hi everyone, (love the new site!)
I’m trying to install this new app called WaveEdit (link) , (which is not mhwaveedit in the repos). I can’t get it to run. I thought it would be the usual “sudo sh ./WaveEdit.sh” but I got./WaveEdit: 2: ./WaveEdit: Syntax error: word unexpected (expecting “)”)
So since there is an executable file, I tried just WaveEdit and got:
bash: ./WaveEdit: cannot execute binary file: Exec format error
Any suggestions?
brian
November 11, 2017 at 5:57 am #2323Member
briandc
::Doing a search, it seems that it might be a 32-bit vs. 64-bit architecture. I don’t see any indication of 64-bit in the app that I remember. Technically speaking, I have a 32-bit OS running on a 64-bit desktop. Can I still get this app to run?
brian
November 13, 2017 at 5:38 am #2493Member
fatmac
::./WaveEdit: 2: ./WaveEdit: Syntax error: word unexpected (expecting “)”)Would suggest that there is an error in the syntax of the .sh script.
(Possibly an unclosed bracket, but not always.)- This reply was modified 5 years, 5 months ago by fatmac.
- This reply was modified 5 years, 5 months ago by fatmac.
Linux (& BSD) since 1999
November 13, 2017 at 10:53 am #2503Anonymous
::syntax error?
Why are you forcing use of “sh” (vs “bash”?)
Inspect the script and verify: does the first line reference /user/bin/bash ?Why did you expect sudo would be required for launching a sound editing app?
Ah, “the script” is not the application? It’s an installer?
And you downloaded this script from “the web” and are prepared to execute it with root permissions,
without inspecting the script’s content first to see (and understand) what’s it’s gonna do to your system ?!?November 13, 2017 at 2:51 pm #2512Member
briandc
::The .sh file contains this:
#!/bin/sh
LD_LIBRARY_PATH=. ./WaveEditThere is both an executable and a shell script in the download. (the link is in the original post)
Apparently I thought sudo was needed for installation, hence the usage. But at any rate, I couldn’t get either file to run.
brian
November 13, 2017 at 3:15 pm #2513Anonymous
::WaveEdit.sh (on GitHub)
LD_LIBRARY_PATH=. ./WaveEdit
—————————–^
Edit the script to remove the space character, then retry.November 13, 2017 at 4:09 pm #2515Moderator
caprea
::briandc,
bash: ./WaveEdit: cannot execute binary file: Exec format errorDoing a search, it seems that it might be a 32-bit vs. 64-bit architecture. I don’t see any indication of 64-bit in the app that I remember. Technically speaking, I have a 32-bit OS running on a 64-bit desktop. Can I still get this app to run?
brian
No.
Maybe if yo right-click on the executable file and choose properties you can see if it is 64-bit or 32-bit.
Is there any reason to use the 32-bit version on a 64-bit desktop?
- This reply was modified 5 years, 5 months ago by caprea.
November 14, 2017 at 8:49 am #2536Member
briandc
::Maybe if yo right-click on the executable file and choose properties you can see if it is 64-bit or 32-bit.
Thanks. I’ll remember that!
Is there any reason to use the 32-bit version on a 64-bit desktop?
Only if you have mistakenly installed a 32-bit OS on a 64-bit PC –like me. 😀
brian
November 14, 2017 at 9:05 am #2537Member
briandc
::WaveEdit.sh (on GitHub)
LD_LIBRARY_PATH=. ./WaveEdit
—————————–^
Edit the script to remove the space character, then retry.The error message is gone, but it doesn’t open the app. Is the correct way to run an .sh file like this: sh ./[foo].sh ? If so, no luck.
brian
November 14, 2017 at 9:38 am #2539Anonymous
::but it doesn’t open the app
We can see that the script isn’t intended to open the app. All it’s doing is setting an environment variable.
Try again. Leave sudo out of the mix.
command “WaveEdit.sh” to set the env var, then “WaveEdit” to launch the application.November 14, 2017 at 9:49 am #2541Member
briandc
::but it doesn’t open the app
We can see that the script isn’t intended to open the app. All it’s doing is setting an environment variable.
Try again. Leave sudo out of the mix.
command “WaveEdit.sh” to set the env var, then “WaveEdit” to launch the application.Still nothing. 🙁
November 14, 2017 at 12:37 pm #2542Moderator
caprea
::So since there is an executable file, I tried just WaveEdit and got: bash: ./WaveEdit: cannot execute binary file: Exec format errorSo there is an executable file. Could you please try right-click on the file and choose properties, to see if it’s 32- or 64-bit ?
November 14, 2017 at 12:55 pm #2543Anonymous
November 14, 2017 at 1:19 pm #2546Member
briandc
::The Properties option when right-clicking (using SpaceFM) didn’t give an indication of 32-bit or 64-bit that I could see. BUT,
the “file WaveEdit” command gave:
WaveEdit: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=9c28a79f78342ae4b936a6c55a4af8eaf9adbcd3, not stripped
So this is 64-bit only, correct?
brian
November 15, 2017 at 12:07 am #2574Anonymous
::Yes, you’ve confirmed the executable is 64bit.
Did you notice their github page provides howto instruction for compiling your own copy of the application?
Doing so may be your surest path to achieving successful operation. -
AuthorPosts
- You must be logged in to reply to this topic.