6.63. Libdbus-1.8.0

Libdbus package provides a library to communicate with D-Bus messagebus daemon. It is only installed to satisfy circular dependency between Systemd and D-Bus.

Approximate build time: less than 0.4 SBU
Required disk space: 35 MB

6.63.1. Installation of Libdbus



Libdbus is part of the D-Bus sources. You should first unpack the D-Bus tarball and change to the dbus-1.8.0 directory.

Prepare Libdbus for compilation:

./configure --prefix=/usr     \
            --sysconfdir=/etc \

Compile the package:

make -C dbus libdbus-1.la

This package does come with a testsuite, but it is not possible to run it because only part of the package was built.

Install the package:

make -C dbus lib_LTLIBRARIES=libdbus-1.la \
     install-libLTLIBRARIES \
     install-dbusincludeHEADERS \
make install-pkgconfigDATA

The shared library needs to be moved to /lib, and as a result the .so file in /usr/lib will need to be recreated:

mv -v /usr/lib/libdbus-1.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so

6.63.2. Contents of Libdbus

Installed programs: none
Installed libraries: libdbus-1.{a,so}
Installed directories: /usr/include/dbus-1.0, /usr/lib/dbus-1.0

Short Descriptions


Contains API functions used to communicate with the D-Bus message bus.