diff --git a/chapter06/dbus.xml b/chapter06/dbus.xml index 06acab4da..07bd26a32 100644 --- a/chapter06/dbus.xml +++ b/chapter06/dbus.xml @@ -90,6 +90,14 @@ make install + 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 + Create a symlink, so that D-Bus and Systemd can use the same machine-id file: diff --git a/chapter06/libdbus.xml b/chapter06/libdbus.xml index ff70ab9c8..712421e99 100644 --- a/chapter06/libdbus.xml +++ b/chapter06/libdbus.xml @@ -72,6 +72,15 @@ 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 + +