I'm trying to install Lame on Amazon Linux. I've downloaded lame-3.99.5.tar.gz
, uploaded it to the server, and tried to install it.
I followed this example:
make sure you have the tools necessary to build from source:
yum update
yum install gcc gcc-c++ automake autoconf libtool yasm nasm git subversion
Get the tarball for version you want here: http://sourceforge.net/projects/lame/files/lame/
- upload the tarball somewhere on your server
- cd /path/to/lame-3.99.5 (or whatever version you downloaded)
- ./configure
- make && make install
- ldconfig
Steps 6 results in errors:
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libmp3lame.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmp3lame.so.0.0.0 /usr/local/lib/libmp3lame.so.0.0.0
/usr/bin/install: cannot create regular file '/usr/local/lib/libmp3lame.so.0.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/test/lame/lame-3.99.5/libmp3lame'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/test/lame/lame-3.99.5/libmp3lame'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/test/lame/lame-3.99.5/libmp3lame'
make: *** [install-recursive] Error 1
This is executed using sudo. I've tried to repeat this as root, and then no errors returned.
Step 7 returns nothing, but maybe that's how it should work?
When I try to run lame
I get command not found
.
How can I get lame running?