libogg-1.3.6

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 7. Audio

- Prev

  alsa-utils-1.2.15.2

- Next

  libvorbis-1.3.7

- Up
- Home

# libogg-1.3.6

## Introduction to libogg

The libogg package contains the Ogg file structure. This is useful for creating (encoding) or playing (decoding) a single physical bit stream.

- Download: https://downloads.xiph.org/releases/ogg/libogg-1.3.6.tar.xz

## Installation of libogg

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

## lib32 Installation of libogg

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

## Command Explanations

### Note

Run ./configure --help for a full list of options.

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: None
Installed Library: libogg
Installed Directories: /usr/include/ogg and /usr/share/doc/libogg-1.3.6

### Short Descriptions

`libogg` | provides the functions required for programs to read or write Ogg formatted bit streams

- Prev

  alsa-utils-1.2.15.2

- Next

  libvorbis-1.3.7

- Up
- Home