On Fr, 24.01.25 12:22, David White (dr.white.nz@xxxxxxxxx) wrote: > 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. It's a private library with no stable ABI. You cannot mix & match it. it always carries the systemd version in the filename to ensure that the tools always use the library built from basically the same sources. hence, what you are trying to do is expressly against what this library is. Lennart -- Lennart Poettering, Berlin