diff options
-rw-r--r-- | chapter06/dbus.xml | 8 | ||||
-rw-r--r-- | chapter06/libdbus.xml | 9 |
2 files changed, 17 insertions, 0 deletions
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 @@ <screen><userinput remap="install">make install</userinput></screen> + <para>The shared library needs to be moved to + <filename class="directory">/lib</filename>, and as a result the + <filename class="extension">.so</filename> file in + <filename class="directory">/usr/lib</filename> will need to be recreated:</para> + +<screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> + <para>Create a symlink, so that D-Bus and Systemd can use the same <filename>machine-id</filename> file:</para> 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</userinput></screen> + <para>The shared library needs to be moved to + <filename class="directory">/lib</filename>, and as a result the + <filename class="extension">.so</filename> file in + <filename class="directory">/usr/lib</filename> will need to be recreated:</para> + +<screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> + + </sect2> <sect2 id="contents-libdbus" role="content"> |