[Bug 261550] Missing libraries

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Feb 2022 09:09:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261550

--- Comment #6 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
Created attachment 231811
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231811&action=edit
patch for ports-mgmt/pkg to make bad values visible

llvm uses the following rpath when linking liblldb.

-Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/../../../../lib:/usr/local/lib"

This value will not cause any problems since the system shared libraries cannot
be found from STAGEDIR.
After the installation, system shared libraris will be found using this value.
The function filter_system_shlibs, which excludes system shared libraries used
by pkg-check and pkg-create, will not successfully exclude them if they contain
this value.
As a result, the database will be rewritten so that "missing a required shared
library" will be displayed.

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