Introduction to libcddb

The libcddb is a library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server.



Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information



An Internet connection is needed for some tests of this package.

Installation of libcddb

By default this package accesses, which is already closed. Modify the default to use instead, and fix two stale test data files:

sed -e '/DEFAULT_SERVER/s/' \
    -e '/DEFAULT_PORT/s/888/&0/'                       \
    -i include/cddb/cddb_ni.h                          &&
sed '/^Genre:/s/Trip-Hop/Electronic/' -i tests/testdata/920ef00b.txt &&
sed '/DISCID/i# Revision: 42'         -i tests/testcache/misc/12340000

Install libcddb by running the following commands:

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

To test the results, issue: make check -k. The test suite needs the Internet connection. One test fails due to missing test server.

Now, as the root user:

make install


Installed Programs: cddb_query
Installed Library:
Installed Directories: /usr/include/cddb

Short Descriptions


provides a user interface to a CDDB server