From f38341fcac3131ece5c4996899ee41e72b1794fb Mon Sep 17 00:00:00 2001 From: Krejzi Date: Sat, 21 Dec 2013 22:55:47 +0000 Subject: [PATCH] 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 --- chapter06/dbus.xml | 8 ++++++++ chapter06/libdbus.xml | 9 +++++++++ 2 files changed, 17 insertions(+) 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 + +