NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/59183: /usr/lib/*.so symlinks should be in comp, not base
>Number: 59183
>Category: misc
>Synopsis: /usr/lib/*.so symlinks should be in comp, not base
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 16 20:30:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBaseD.so.1.2 Compilation
>Environment:
>Description:
Currently the .so symlinks are shipped in the `base' set, not the `comp' set. For example:
450 ./usr/lib/libmagic.so base-sys-shlib compatfile
451 ./usr/lib/libmagic.so.8 base-sys-shlib compatfile
452 ./usr/lib/libmagic.so.8.0 base-sys-shlib compatfile
https://nxr.netbsd.org/xref/src/distrib/sets/lists/base/shl.mi?r=1.998#450
Of course the .so.N symlink and the .so.N.M file need to be in base, because the run-time loader ld.elf_so / rtld look for those to load at run-time when running programs.
But the .so symlink is only used by the build-time linker, just like any corresponding .h files which are already in comp, not base. So there's no meaningful way to use the .so symlink from base anyway.
>How-To-Repeat:
code inspection
>Fix:
Yes, please!
Need to carefully consider -- and document somewhere -- the potential fallout arising from moving files from one set to another.
Home |
Main Index |
Thread Index |
Old Index