Error Loading SoX

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I use a really useful tool called r128gain which performs loudness normalisation on audio files.
Under 17.10, however, I get the following error however...



Failed opening "/home/Downloads/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2".
Error loading SoX.


Can anybody shed any light on this for me, I would love to get it working again?
Thank you!










share|improve this question

























    up vote
    2
    down vote

    favorite












    I use a really useful tool called r128gain which performs loudness normalisation on audio files.
    Under 17.10, however, I get the following error however...



    Failed opening "/home/Downloads/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2".
    Error loading SoX.


    Can anybody shed any light on this for me, I would love to get it working again?
    Thank you!










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I use a really useful tool called r128gain which performs loudness normalisation on audio files.
      Under 17.10, however, I get the following error however...



      Failed opening "/home/Downloads/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2".
      Error loading SoX.


      Can anybody shed any light on this for me, I would love to get it working again?
      Thank you!










      share|improve this question













      I use a really useful tool called r128gain which performs loudness normalisation on audio files.
      Under 17.10, however, I get the following error however...



      Failed opening "/home/Downloads/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2".
      Error loading SoX.


      Can anybody shed any light on this for me, I would love to get it working again?
      Thank you!







      sound sox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 9 at 12:50









      Steve Brodie

      10711




      10711




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          It seems the tool is missing the soxinstallation



          sudo apt-get install sox



          should fix it




          Edit: Installing alone did not fix it, you have to tell r128gain where to look for the sox library



          mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup

          ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2


          Then it works



          ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded.
          FFmpeg sucessfully loaded.
          analyzing ...
          [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
          peak: -17.9 TPFS, range: 0.0 LU
          [ALBUM]: -29.7 LUFS (6.7 LU)
          peak: -17.9 TPFS, range: 0.0 LU
          done.





          share|improve this answer





























            up vote
            2
            down vote













            SoX executable in r128gain-1.0.11-linux64-gtk3/r128gain-tools depends on libpng12 (not exist in modern Ubuntu), so we need to install it manually:



            wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
            sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb


            After this it works:



            artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded.
            FFmpeg sucessfully loaded.
            analyzing ...
            [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
            peak: -17.9 TPFS, range: 0.0 LU
            [ALBUM]: -29.7 LUFS (6.7 LU)
            peak: -17.9 TPFS, range: 0.0 LU
            done.





            share|improve this answer






















            • you don't need to install debian packages, ubuntu already brings sox and a working sox library
              – Robert Riedl
              Feb 9 at 14:05










            • We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
              – N0rbert
              Feb 9 at 14:17











            • I'm very happy to have it working again, thank you both for taking the time to answer. :)
              – Steve Brodie
              Feb 10 at 13:37










            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004554%2ferror-loading-sox%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            It seems the tool is missing the soxinstallation



            sudo apt-get install sox



            should fix it




            Edit: Installing alone did not fix it, you have to tell r128gain where to look for the sox library



            mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup

            ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2


            Then it works



            ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded.
            FFmpeg sucessfully loaded.
            analyzing ...
            [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
            peak: -17.9 TPFS, range: 0.0 LU
            [ALBUM]: -29.7 LUFS (6.7 LU)
            peak: -17.9 TPFS, range: 0.0 LU
            done.





            share|improve this answer


























              up vote
              2
              down vote



              accepted










              It seems the tool is missing the soxinstallation



              sudo apt-get install sox



              should fix it




              Edit: Installing alone did not fix it, you have to tell r128gain where to look for the sox library



              mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup

              ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2


              Then it works



              ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded.
              FFmpeg sucessfully loaded.
              analyzing ...
              [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
              peak: -17.9 TPFS, range: 0.0 LU
              [ALBUM]: -29.7 LUFS (6.7 LU)
              peak: -17.9 TPFS, range: 0.0 LU
              done.





              share|improve this answer
























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                It seems the tool is missing the soxinstallation



                sudo apt-get install sox



                should fix it




                Edit: Installing alone did not fix it, you have to tell r128gain where to look for the sox library



                mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup

                ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2


                Then it works



                ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded.
                FFmpeg sucessfully loaded.
                analyzing ...
                [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                peak: -17.9 TPFS, range: 0.0 LU
                [ALBUM]: -29.7 LUFS (6.7 LU)
                peak: -17.9 TPFS, range: 0.0 LU
                done.





                share|improve this answer














                It seems the tool is missing the soxinstallation



                sudo apt-get install sox



                should fix it




                Edit: Installing alone did not fix it, you have to tell r128gain where to look for the sox library



                mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup

                ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2


                Then it works



                ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded.
                FFmpeg sucessfully loaded.
                analyzing ...
                [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                peak: -17.9 TPFS, range: 0.0 LU
                [ALBUM]: -29.7 LUFS (6.7 LU)
                peak: -17.9 TPFS, range: 0.0 LU
                done.






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 9 at 14:05

























                answered Feb 9 at 12:57









                Robert Riedl

                2,740623




                2,740623






















                    up vote
                    2
                    down vote













                    SoX executable in r128gain-1.0.11-linux64-gtk3/r128gain-tools depends on libpng12 (not exist in modern Ubuntu), so we need to install it manually:



                    wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
                    sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb


                    After this it works:



                    artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded.
                    FFmpeg sucessfully loaded.
                    analyzing ...
                    [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    [ALBUM]: -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    done.





                    share|improve this answer






















                    • you don't need to install debian packages, ubuntu already brings sox and a working sox library
                      – Robert Riedl
                      Feb 9 at 14:05










                    • We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                      – N0rbert
                      Feb 9 at 14:17











                    • I'm very happy to have it working again, thank you both for taking the time to answer. :)
                      – Steve Brodie
                      Feb 10 at 13:37














                    up vote
                    2
                    down vote













                    SoX executable in r128gain-1.0.11-linux64-gtk3/r128gain-tools depends on libpng12 (not exist in modern Ubuntu), so we need to install it manually:



                    wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
                    sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb


                    After this it works:



                    artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded.
                    FFmpeg sucessfully loaded.
                    analyzing ...
                    [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    [ALBUM]: -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    done.





                    share|improve this answer






















                    • you don't need to install debian packages, ubuntu already brings sox and a working sox library
                      – Robert Riedl
                      Feb 9 at 14:05










                    • We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                      – N0rbert
                      Feb 9 at 14:17











                    • I'm very happy to have it working again, thank you both for taking the time to answer. :)
                      – Steve Brodie
                      Feb 10 at 13:37












                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    SoX executable in r128gain-1.0.11-linux64-gtk3/r128gain-tools depends on libpng12 (not exist in modern Ubuntu), so we need to install it manually:



                    wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
                    sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb


                    After this it works:



                    artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded.
                    FFmpeg sucessfully loaded.
                    analyzing ...
                    [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    [ALBUM]: -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    done.





                    share|improve this answer














                    SoX executable in r128gain-1.0.11-linux64-gtk3/r128gain-tools depends on libpng12 (not exist in modern Ubuntu), so we need to install it manually:



                    wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
                    sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb


                    After this it works:



                    artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded.
                    FFmpeg sucessfully loaded.
                    analyzing ...
                    [1/1] "Noise.wav": -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    [ALBUM]: -29.7 LUFS (6.7 LU)
                    peak: -17.9 TPFS, range: 0.0 LU
                    done.






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 9 at 13:17

























                    answered Feb 9 at 12:59









                    N0rbert

                    16.6k33479




                    16.6k33479











                    • you don't need to install debian packages, ubuntu already brings sox and a working sox library
                      – Robert Riedl
                      Feb 9 at 14:05










                    • We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                      – N0rbert
                      Feb 9 at 14:17











                    • I'm very happy to have it working again, thank you both for taking the time to answer. :)
                      – Steve Brodie
                      Feb 10 at 13:37
















                    • you don't need to install debian packages, ubuntu already brings sox and a working sox library
                      – Robert Riedl
                      Feb 9 at 14:05










                    • We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                      – N0rbert
                      Feb 9 at 14:17











                    • I'm very happy to have it working again, thank you both for taking the time to answer. :)
                      – Steve Brodie
                      Feb 10 at 13:37















                    you don't need to install debian packages, ubuntu already brings sox and a working sox library
                    – Robert Riedl
                    Feb 9 at 14:05




                    you don't need to install debian packages, ubuntu already brings sox and a working sox library
                    – Robert Riedl
                    Feb 9 at 14:05












                    We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                    – N0rbert
                    Feb 9 at 14:17





                    We do not know build flags of libsox built by r128gain. So I leave my answer here. Copying parts of my answer is not good manner.
                    – N0rbert
                    Feb 9 at 14:17













                    I'm very happy to have it working again, thank you both for taking the time to answer. :)
                    – Steve Brodie
                    Feb 10 at 13:37




                    I'm very happy to have it working again, thank you both for taking the time to answer. :)
                    – Steve Brodie
                    Feb 10 at 13:37

















                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004554%2ferror-loading-sox%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491