[lfs-dev] LFS SVN and Systemd Report

Bruce Dubbs bruce.dubbs at gmail.com
Mon May 28 11:52:38 PDT 2012


Continuing this thread.

I built a current SVN and stopped at udev.  Trying to run systemd 
configure is a problem.

1.  It wants intltool
2.  It wants intltool's dependency XML::Parser
3.  It wants libpcap2 and implicitly it's dependency attr
4.  It wants pkgconfig but that can be worked around
4a.   KMOD_CFLAGS=-I/usr/include KMOD_LIBS="-L/lib -llzma -lz"
4b.   BLKID_LIBS=-lblkid BLKID_CFLAGS=-I/usr/include

5. It wants usbutils and it's dependency libusb
5b  USBUTILS_CFLAGS, USBUTILS_LIBS, and path to usb.ids

6. It wants pciutils
6b  LIBPCI_CFLAGS, LIBPCI_LIBS, and path to pci.ids

7.  It wants D-Bus:
7a  DBUS_CFLAGS=-I/usr/include DBUS_LIBS=-ldbus

And that's just to get through configure.

I tried to do: make udevadm, but it tied to the shared/ directory and 
requires dbus.  I wasn't able to work around that without major surgery.

The problem is that none of these libraries are used for udev.  On a 
recent blfs system, where the systemd dependent libraries are installed, 
I as able to build and looked at the executables and libraries.  AFAIK, 
the only ones are /bin/udevadm, /usr/lib/systemd/systemd-udevd, 
/lib/libudev.so.1.0.0 and /usr/lib/udev/*.

   -- Bruce

[ /tmp/systemd/install/bin ]$ ldd udevadm
         linux-vdso.so.1 (0x00007fff38fff000)
         libblkid.so.1 => /lib/libblkid.so.1 (0x00007f3596458000)
         libkmod.so.2 => /lib/libkmod.so.2 (0x00007f3596244000)
         librt.so.1 => /lib/librt.so.1 (0x00007f359603c000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3595e1f000)
         libc.so.6 => /lib/libc.so.6 (0x00007f3595a7b000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f359667e000)
         libuuid.so.1 => /lib/libuuid.so.1 (0x00007f3595877000)
         liblzma.so.5 => /lib/liblzma.so.5 (0x00007f3595655000)
         libz.so.1 => /lib/libz.so.1 (0x00007f359543e000)

[ /tmp/systemd/install/usr/lib/systemd ]$ ldd systemd-udevd
         linux-vdso.so.1 (0x00007fff853ff000)
         libblkid.so.1 => /lib/libblkid.so.1 (0x00007faca6938000)
         libkmod.so.2 => /lib/libkmod.so.2 (0x00007faca6724000)
         librt.so.1 => /lib/librt.so.1 (0x00007faca651c000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007faca62ff000)
         libc.so.6 => /lib/libc.so.6 (0x00007faca5f5b000)
         /lib64/ld-linux-x86-64.so.2 (0x00007faca6b5e000)
         libuuid.so.1 => /lib/libuuid.so.1 (0x00007faca5d57000)
         liblzma.so.5 => /lib/liblzma.so.5 (0x00007faca5b35000)
         libz.so.1 => /lib/libz.so.1 (0x00007faca591e000)

[ /tmp/systemd/install/lib ]$ ldd libudev.so.1.0.0
         linux-vdso.so.1 (0x00007fffc9aca000)
         libdl.so.2 => /lib/libdl.so.2 (0x00007f0eaec84000)
         librt.so.1 => /lib/librt.so.1 (0x00007f0eaea7c000)
         libc.so.6 => /lib/libc.so.6 (0x00007f0eae6d7000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f0eaf0a4000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0eae4ba000)

[ /tmp/systemd/install/usr/lib/udev ]$ ldd *
accelerometer:
         linux-vdso.so.1 (0x00007fffe31ff000)
         libudev.so.1 => not found
         libm.so.6 => /lib/libm.so.6 (0x00007fe94be25000)
         librt.so.1 => /lib/librt.so.1 (0x00007fe94bc1d000)
         libc.so.6 => /lib/libc.so.6 (0x00007fe94b879000)
         /lib64/ld-linux-x86-64.so.2 (0x00007fe94c11a000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe94b65c000)
ata_id:
         linux-vdso.so.1 (0x00007fff26a52000)
         librt.so.1 => /lib/librt.so.1 (0x00007f5692f95000)
         libc.so.6 => /lib/libc.so.6 (0x00007f5692bf1000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f569319d000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f56929d4000)
cdrom_id:
         linux-vdso.so.1 (0x00007fff95dff000)
         libudev.so.1 => not found
         librt.so.1 => /lib/librt.so.1 (0x00007f278504a000)
         libc.so.6 => /lib/libc.so.6 (0x00007f2784ca6000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f2785252000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2784a89000)
collect:
         linux-vdso.so.1 (0x00007fff7dfe0000)
         librt.so.1 => /lib/librt.so.1 (0x00007f797c7ef000)
         libc.so.6 => /lib/libc.so.6 (0x00007f797c44b000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f797c9f7000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f797c22e000)
mtd_probe:
         linux-vdso.so.1 (0x00007fff8a3ff000)
         libc.so.6 => /lib/libc.so.6 (0x00007f504dda9000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f504e14d000)
scsi_id:
         linux-vdso.so.1 (0x00007fff5dfff000)
         librt.so.1 => /lib/librt.so.1 (0x00007f8dd9270000)
         libc.so.6 => /lib/libc.so.6 (0x00007f8dd8ecc000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f8dd9478000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8dd8caf000)
v4l_id:
         linux-vdso.so.1 (0x00007fff92d64000)
         libc.so.6 => /lib/libc.so.6 (0x00007fd3f41ae000)
         /lib64/ld-linux-x86-64.so.2 (0x00007fd3f4552000)



More information about the lfs-dev mailing list