aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2013-12-21 22:55:47 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2013-12-21 22:55:47 +0000
commitf38341fcac3131ece5c4996899ee41e72b1794fb (patch)
tree065635ce5aba3fa67d605cfea8c92ff6f7c1859d
parent8f2ff12b133d59ef6dd49503e510aae9e8e82a74 (diff)
Move shared dbus library to /lib, since systemd binary links to it.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10410 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/dbus.xml8
-rw-r--r--chapter06/libdbus.xml9
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">