[lfs-book] r10410 - branches/systemd/BOOK/chapter06

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Sat Dec 21 14:55:47 PST 2013


Author: krejzi
Date: Sat Dec 21 14:55:47 2013
New Revision: 10410

Log:
Move shared dbus library to /lib, since systemd binary links to it.

Modified:
   branches/systemd/BOOK/chapter06/dbus.xml
   branches/systemd/BOOK/chapter06/libdbus.xml

Modified: branches/systemd/BOOK/chapter06/dbus.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/dbus.xml	Sat Dec 21 14:17:06 2013	(r10409)
+++ branches/systemd/BOOK/chapter06/dbus.xml	Sat Dec 21 14:55:47 2013	(r10410)
@@ -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>
 

Modified: branches/systemd/BOOK/chapter06/libdbus.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/libdbus.xml	Sat Dec 21 14:17:06 2013	(r10409)
+++ branches/systemd/BOOK/chapter06/libdbus.xml	Sat Dec 21 14:55:47 2013	(r10410)
@@ -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">



More information about the lfs-book mailing list