PDA

View Full Version : Installing libvorbis



dattas
07-21-2008, 02:28 PM
libvorbis is nice to have for ffmpeg, here is how to install it.
First, you will need to install libogg, you can learn how to do that here (http://forums.westhost.com/showthread.php?t=11566)
Go here: http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/libvorbis.html and get the latest version.
then lets extract and build


tar -jxvf libvorbis-*
cd libvorbis-*
./configure --prefix=/usr/local/libvorbis --with-ogg=/usr/local/libogg
make && make install

Now we need to add the library. Edit the file located at /etc/ld.so.conf and add this line to the bottom:

/usr/local/libvorbis/lib
Once you have done that, run

ldconfig
and ignore any warnings you get.

Done, enjoy!
Want me to do a tutorial on how to install something? PM me!
Got any questions? reply below.