> 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 Thanks Lennart. I guess I need to figure out how to build the entire library and install it. I'm using debootstrap and chroot for the initial setup, and installing systemd via apt, will see if I can build and install systemd from source. On Fri, Jan 24, 2025 at 3:47 PM Lennart Poettering <lennart@xxxxxxxxxxxxxx> wrote: > > 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