The libogg package contains the Ogg file structure. This is useful for creating (encoding) or playing (decoding) a single physical bit stream.
Install libogg by running the following commands:
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libogg-1.3.6 &&
make
Now, as the root user:
make install
Install lib32-libogg by running the following commands:
make distclean &&
CC="gcc -m32" CXX="g++ -m32" \
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--disable-static &&
make
Now, as the root user:
make DESTDIR=$PWD/DESTDIR install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
Run ./configure --help for a full list of options.
--disable-static: This
switch prevents installation of static versions of the libraries.