Re: pkg check -ad, llvm10 is missing a required shared library
- Reply: Tatsuki Makino : "Re: pkg check -ad, llvm10 is missing a required shared library"
- Reply: Mel Pilgrim : "Re: pkg check -ad, llvm10 is missing a required shared library"
- In reply to: Tatsuki Makino : "Re: pkg check -ad, llvm10 is missing a required shared library"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Aug 2021 01:47:00 UTC
Tatsuki Makino wrote on 2021/08/10 07:48: > pkg-1.17.1/libpkg/pkg_elf.c has function filter_system_shlibs. > However, that function is a static function. > Since pkg-check doesn't seem to pass any other such function, pkg check -B will add the system library to the database. > This is probably a mistake. readelf -d /usr/local/llvm10/lib/liblldb.so.10.0.1 returns the following RUNPATH. 0x000000000000001d RUNPATH Library runpath: [$ORIGIN/../lib:$ORIGIN/../../../../lib:/usr/local/lib] I think it's used to create a value that requires /usr/local/llvm10/../../../../lib/libc.so.7 instead of /lib/libc.so.7 when the shlib_list_from_rpath function in pkg-1.17.1/libpkg/elfhints.c is executed. It seems that /usr/local/llvm10/../../../../lib is not a target of filter_system_shlibs. This is also still my prediction. :)