Building systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
  I have a stupid question about building systemd.

I need a particular package rebuilt to test some changes. I only need this one specific bin.

How can I link against the libsystemd-shared-256.so iin the default location?

/usr/lib/x86_64-linux-gnu/systemd/libsystemd-shared-256.so

When I build, it links against the lib in the build dir.

I'm running:

meson setup build

then ninja from the build dir

davew@eyeball:~/systemd/build$ ninja
[2257/2257] Generating export-dbus-interfaces with a custom command
davew@eyeball:~/systemd/build$ ldd systemd-cryptsetup
linux-vdso.so.1 (0x00007b16d10c3000)
libsystemd-shared-256.so => /home/davew/systemd/build/./src/shared/libsystemd-shared-256.so (0x00007b16d0a00000)
libcryptsetup.so.12 => /lib/x86_64-linux-gnu/libcryptsetup.so.12 (0x00007b16d1005000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007b16d0400000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007b16d0000000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007b16d0fc9000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007b16d0fba000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007b16d09c6000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007b16d0979000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007b16d03d2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007b16d02e5000)
/lib64/ld-linux-x86-64.so.2 (0x00007b16d10c5000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007b16d0fae000)
libdevmapper.so.1.02.1 => /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 (0x00007b16d0278000)
libjson-c.so.5 => /lib/x86_64-linux-gnu/libjson-c.so.5 (0x00007b16d0f9a000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007b16d025a000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007b16cff42000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007b16cfea5000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007b16cfe60000)

Thanks,

David.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux