10.93. Systemd-213 32 Bit Libraries

The systemd package is a system and service manager for Linux operating systems.

10.93.1. Installation of Systemd

[Note]

Note

If you do not have Linux-PAM installed in your system you can safely skip this page. If you do have Linux-PAM installed and you wish to use pam_systemd.so to register and control user sessions within the systemd control group hierarchy, follow the instructions to install the module.

Systemd 209 merged several libraries into libsystemd, but some packages that use systemd still expect those separate libraries. Apply a patch to allow backwards compatibility with these packages by installing Pkg-config files for the old libraries:

patch -Np1 -i ../systemd-213-compat-1.patch

Prepare systemd for compilation:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  ./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var \
    --libexecdir=/usr/lib --docdir=/usr/share/doc/systemd-213 \
    --with-rootprefix="" --with-rootlibdir=/lib \
    --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \
    --with-kbd-setfont=/bin/setfont --with-dbuspolicydir=/etc/dbus-1/system.d \
    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
    cc_cv_CFLAGS__flto=no

Compile the package:

make src/shared/{af,errno}-{from,to}-name.h src/libsystemd/libsystemd.sym
make libsystemd.la libudev.la libnss_myhostname.la

Install the package:

make install-libLTLIBRARIES
make install-pkgconfiglibDATA

Move the nss_myhostname library to /lib:

mv -v /usr/lib/libnss_myhostname.so.2 /lib

Details on this package are located in Section 10.94.3, “Contents of Systemd.”