The libogg package contains the Ogg file structure. This is useful for creating (encoding) or playing (decoding) a single physical bit stream.
Download (HTTP): https://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.xz
Install libogg by running the following commands:
./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/libogg-1.3.5 && make
To test the results, issue: make check.
Now, as the root
user:
make install
First clean the directory:
make distclean
Install lib32-libogg by running the following commands:
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
--disable-static
: This
switch prevents installation of static versions of the libraries.