libcdio-2.1.0

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-1303

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  libcddb-1.3.2

- Next

  libde265-1.1.1

- Up
- Home

# libcdio-2.1.0

## Introduction to libcdio

The libcdio is a library for CD-ROM and CD image access. The associated libcdio-cdparanoia library reads audio from the CD-ROM directly as data, with no analog step between, and writes the data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM.

### Note

This package is known to build and work properly using an LFS 13.1 platform.

### Package Information

- Download (HTTP): https://ftpmirror.gnu.org/libcdio/libcdio-2.1.0.tar.bz2

- Download MD5 sum: aa7629e8f73662a762f64c444b901055

- Download size: 1.7 MB

- Estimated disk space required: 53 MB (both packages, including checks)

- Estimated build time: 0.2 SBU (using parallelism=4; both packages, including checks)

### Additional Downloads

- Required file: https://ftpmirror.gnu.org/libcdio/libcdio-paranoia-10.2+2.0.2.tar.bz2

### libcdio Dependencies

#### Optional

libcddb-1.3.2

## Installation of libcdio

If you are building on an i686 system, fix a build issue caused by large file support:

    case $(uname -m) in
       i?86)
          sed '/CDIO_LSEEK/s/lseek64/lseek/'  -i lib/driver/_cdio_generic.c &&
          sed '/CDIO_FSEEK/s/fseeko64/fseek/' -i lib/driver/_cdio_stdio.c   ;;
    esac

Install libcdio by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check -k. One test named `realpath` is known to fail.

Now, as the `root` user:

    make install

Now install libcdio-paranoia:

    tar -xf ../libcdio-paranoia-10.2+2.0.2.tar.bz2 &&
    cd libcdio-paranoia-10.2+2.0.2 &&

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Programs: cdda-player, cd-drive, cd-info, cd-paranoia, cd-read, iso-info, iso-read, and mmc-tool
Installed Library: libcdio.so, libcdio++.so, libcdio_cdda, libcdio_paranoia, libiso9660, libiso9660++, and libudf.so
Installed Directories: /usr/include/cdio and /usr/include/cdio++

### Short Descriptions

cd-drive | shows CD-ROM drive characteristics
cd-info | shows information about a CD or CD-image
cd-paranoia | is an audio CD reading utility which includes extra data verification features
cd-read | reads Information from a CD or CD-image
cdda-player | is a simple curses CD player
iso-info | shows Information about an ISO 9660 image
iso-read | reads portions of an ISO 9660 image
mmc-tool | issues libcdio multimedia commands
`libcdio.so` | contains the primary cdio API functions

- Prev

  libcddb-1.3.2

- Next

  libde265-1.1.1

- Up
- Home