[Bug 219606] aarch64: libarchive.so.6 not present, libarchive.so not equivalent @ 318898

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 31 00:49:13 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219606

--- Comment #8 from Ed Maste <emaste at freebsd.org> ---
> Anything looking up just /usr/lib/libarchive.so
> would see a link taking that context to
> libarchive.so.7 despite an older libarchive.so.6
> being available for older code.

Yes, but this is the way shared library versioning works. When you build
something you link against e.g. /usr/lib/libarchive.so. The linker follows the
symlink to libarchive.so.6, and then the key point is that it stores
libarchive.so.6 as the dependency. So that binary will always use
libarchive.so.6. When you update and libarchive.so is now a symlink to
libarchive.so.7, and build some software, it follows the symlink and stores
libarchive.so.7 as the dependency.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list