Mark Kettenis <[email protected]> wrote: > > From: "Theo de Raadt" <[email protected]> > > Date: Mon, 14 Feb 2022 00:34:53 -0700 > > > > > The solution would be to add symlinks like all the other OSes do. But > > > Theo doesn't like that. > > > > No, the problem is you add symbolic links, how long before software > > ecosystems in ports choose the short names in linkage -- "because it > > also works"? If they do so, all the transition benefits we have gained > > from the #.# names is lost. Forever. > > Nope. When linking against a shared library, the full #.# name is > taken from the DT_SONAME entry of the shared library and recorded as a > DT_NEEDED entry in the executable. And those DT_NEEDED entries are > used by the dynamic linker to lookup the shared libraries.
I doubt that is the only mechanism that looks at names and numbers.
