Introduction to Libmikmod

libmikmod is a sound library capable of playing audio samples as well as tracker modules. Supported module formats include MOD, S3M, XM, IT, MED, MTM and 669.

Package Information

Additional Downloads

Libmikmod Dependencies


ALSA-1.0.9, EsounD-0.2.35, libGUS, AFlib and SAM9407 driver

Installation of Libmikmod

Install libmikmod by running the following commands:

patch -Np1 -i ../libmikmod-3.1.11-a.diff &&
sed -i -e "s/VERSION=10/VERSION=11/" \
       -e "s/sys_asoundlib/alsa_asoundlib/" \
       -e "s/snd_cards/snd_card_load/g" \
       -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
       -e "s/^LIBOBJS/#LIBOBJS/" \ &&
autoconf &&
./configure --prefix=/usr &&

Now, as the root user:

make install &&
chmod 755 /usr/lib/ &&
install -v -m644 -D docs/mikmod.html \

Command Explanations

sed -i -e ...: This increments the package micro version and also modifies the ALSA header search routine so that the package properly discovers the ALSA library. It also fixes a problem which makes autoconf fail.

autoconf: This generates a new configure script, required because of the changes to


Installed Program: libmikmod-config
Installed Library: libmikmod.[so,a]
Installed Directory: /usr/share/doc/libmikmod-3.1.11

Short Descriptions


provides version information, compiler, and linker flags to programs that utilize libmikmod.


contains functions that are required to play various tracker module files.

Last updated on 2005-08-01 13:29:19 -0600