Christian Weisgerber <na...@mips.inka.de> wrote: > Mark Kettenis: > > > There is a scenario where this goes wrong. If a shared library lacks > > a DT_SONAME entry, the library filename is used to generate the > > DT_NEEDED entries. But I would consider such a shared library broken > > and we fixed base a loooong time ago. Some care has to be taken when > > adding the symlinks to shared libraries in ports. But I'm sure the > > package management stuff could check that shared libraries in ports > > have a DT_SONAME entry. > > We never proceeded to clean that up in ports. > > I just extracted all packages from the latest amd64 snapshot, and > out of a total of 3551 shared libraries, 593 do not have a SONAME.
I suspect utilizing SONAME for ABI crossing is more of a myth, because no other systems actually has multiple shared library versions.... no other systems do ABI breaking changes in this way.