(solved) Problem installing synthtech WaveEdit app

Forum Forums General Software (solved) Problem installing synthtech WaveEdit app

  • This topic has 25 replies, 4 voices, and was last updated Nov 19-2:05 am by briandc.
Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #2151
    Member
    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

      #2323
      Member
      briandc
        Helpful
        Up
        0
        ::

        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

        #2493
        Member
        fatmac
          Helpful
          Up
          0
          ::

          ./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

          #2503
          Anonymous
            Helpful
            Up
            0
            ::

            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 ?!?

            #2512
            Member
            briandc
              Helpful
              Up
              0
              ::

              The .sh file contains this:

              #!/bin/sh
              LD_LIBRARY_PATH=. ./WaveEdit

              There 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

              #2513
              Anonymous
                Helpful
                Up
                0
                ::

                WaveEdit.sh (on GitHub)
                LD_LIBRARY_PATH=. ./WaveEdit
                —————————–^
                Edit the script to remove the space character, then retry.

                #2515
                Moderator
                caprea
                  Helpful
                  Up
                  0
                  ::

                  briandc,

                  bash: ./WaveEdit: cannot execute binary file: Exec format error

                  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

                  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.
                  #2536
                  Member
                  briandc
                    Helpful
                    Up
                    0
                    ::

                    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

                    #2537
                    Member
                    briandc
                      Helpful
                      Up
                      0
                      ::

                      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

                      #2539
                      Anonymous
                        Helpful
                        Up
                        0
                        ::

                        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.

                        #2541
                        Member
                        briandc
                          Helpful
                          Up
                          0
                          ::

                          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. 🙁

                          #2542
                          Moderator
                          caprea
                            Helpful
                            Up
                            0
                            ::
                            So since there is an executable file, I tried just WaveEdit and got:
                            
                            bash: ./WaveEdit: cannot execute binary file: Exec format error

                            So 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 ?

                            #2543
                            Anonymous
                              Helpful
                              Up
                              0
                              ::

                              or, from commandline, use the “file” command
                              man file

                              #2546
                              Member
                              briandc
                                Helpful
                                Up
                                0
                                ::

                                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

                                #2574
                                Anonymous
                                  Helpful
                                  Up
                                  0
                                  ::

                                  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.

                                Viewing 15 posts - 1 through 15 (of 26 total)
                                • You must be logged in to reply to this topic.