Date: Tue, 17 Jun 2025 20:43:25 +0900 From: Hiroki Tagato <tagattie@FreeBSD.org> To: Gleb Popov <arrowd@freebsd.org>, Don Lewis <truckman@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 4765ce804cca - main - x11-wm/mutter: Tweak USE_LDCONFIG Message-ID: <2c371898-96fd-4089-87d1-d372d435dc2e@FreeBSD.org> In-Reply-To: <CALH631nMqiziNCirnOy=uHMxBNParUrb%2BUnMGFK-27ZiZZgP7w@mail.gmail.com> References: <202506170629.55H6TJsM070104@gitrepo.freebsd.org> <CALH631=zuvi3aAvT8kRSu-oZ_VUS2pKTpOhcpYfP7aAKoKQ1vA@mail.gmail.com> <tkrat.be492b7cb72a8274@FreeBSD.org> <CALH631nMqiziNCirnOy=uHMxBNParUrb%2BUnMGFK-27ZiZZgP7w@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 6/17/25 17:36, Gleb Popov wrote: > On Tue, Jun 17, 2025 at 10:19 AM Don Lewis <truckman@freebsd.org> wrote: >> >> I'm unfamiliar with NO_SHLIB_REQUIRES_GLOB. I'm wondering if a missing >> rpath is the issue. > > Judging from the ldd output, the NO_SHLIB_REQUIRES_GLOB= > libmutter-cogl* libmutter-mtk-* ... seems to be the right solution: > > # ldd /usr/local/lib/libmutter-15.so > /usr/local/lib/libmutter-15.so: > libmutter-cogl-15.so.0 => > /usr/local/lib/mutter-15/libmutter-cogl-15.so.0 (0x162b48a30000) > libmutter-mtk-15.so.0 => > /usr/local/lib/mutter-15/libmutter-mtk-15.so.0 (0x162b48ea3000) > ... > > Libs from /usr/local/lib/mutter-15 seem to be internal to mutter > itself, and it finds them via rpath, so no need to make > /usr/local/lib/mutter-15 public via USE_LDCONFIG. I agree with Gleb that we don't have to make the "mutter-15" directory public. I have filed a PR on this issue at: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287560 Adding "libmutter-mtk-*" to NO_SHLIB_REQUIRES_GLOB in Makefile of x11/gnome-shell solves the problem. Cheers, Hirokihome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c371898-96fd-4089-87d1-d372d435dc2e>
