Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 13:52:43 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        kde@freebsd.org, ports@freebsd.org
Subject:   Re: Unresolved symbol in libQt6WebEngineCore.so.6.4.2
Message-ID:  <o7k1-wmpg-wny@FreeBSD.org>
In-Reply-To: <20230723212905.Horde.Ds6iJWUptsMZRBJdlbukxB1@webmail.leidinger.net> (Alexander Leidinger's message of "Sun, 23 Jul 2023 21:29:05 %2B0200")
References:  <20230723212905.Horde.Ds6iJWUptsMZRBJdlbukxB1@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger <Alexander@leidinger.net> writes:

> Hi,
>
> a build with non-standard port options (mostly nox11 und related stuff
> for a headless system, except for some ports where this doesn't work)
> is giving me an unresolved symbol in
> libQt6WebEngineCore.so.6.4.2. This symbol is
> _ZN7sandbox6policy12SandboxLinux11GetInstanceEv.
>
> I'm seeking some insight where this symbol comes from, so it would be
> nice if someone could report back if their
> libQt6WebEngineCore.so.6.4.2 also has this symbol as unresolved and
> which libary does provide this symbol via:
>   find /usr/local/lib -type f -print0 | xargs -0 nm -dynamic
>   --print-file-name | grep SandboxLinux

The symbol is defined by WebEngine itself.

$ cd www/qt6-webengine
$ make clean patch
$ cd `make -V WRKSRC`
$ rg -lF 'SandboxLinux::GetInstance() {'
src/3rdparty/chromium/sandbox/policy/linux/sandbox_linux.cc
src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.cc
src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.cc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o7k1-wmpg-wny>