Error Loading SoX
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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!
sound sox
add a comment |Â
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!
sound sox
add a comment |Â
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!
sound sox
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
sound sox
asked Feb 9 at 12:50
![](https://i.stack.imgur.com/e1mvo.jpg?s=32&g=1)
![](https://i.stack.imgur.com/e1mvo.jpg?s=32&g=1)
Steve Brodie
10711
10711
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
It seems the tool is missing the sox
installation
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.
add a comment |Â
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.
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
add a comment |Â
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 sox
installation
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.
add a comment |Â
up vote
2
down vote
accepted
It seems the tool is missing the sox
installation
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.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
It seems the tool is missing the sox
installation
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.
It seems the tool is missing the sox
installation
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.
edited Feb 9 at 14:05
answered Feb 9 at 12:57
Robert Riedl
2,740623
2,740623
add a comment |Â
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password