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.
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 \ --localstatedir=/var
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 \ install-nodist_dbusarchincludeHEADERS 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