For some reason the teams app on a citrix connected Windows always said that HDX was not connected. I sat down to debug a bit and found that being spit out of wfica > /opt/Citrix/ICAClient//util/HdxRtcEngine: error while loading shared libraries: libunwind.so.1: cannot open shared object file: No such file or directory and ldd /opt/Citrix/ICAClient//util/HdxRtcEngine saying > libunwind.so.1 => not found Reproducible: Always Steps to Reproduce: 1. install media-plugins/hdx-realtime-media-engine 2. ldd /opt/Citrix/ICAClient//util/HdxRtcEngine 3. Actual Results: > libunwind.so.1 => not found Expected Results: All libs found and if you happen to have citrix and teams ... that HDX stuff showing as "HDX optimized" I managed to trick it by creating a so.1 symlink ln -sf /usr/lib64/libunwind.so /usr/lib64/libunwind.so.1 but in fact one likely needs a runtime dep or the packaging of some LD_PRELOAD and a package home for that hacky link
As discussed on PR for taking maintainershp, we want to either package libunwind-compat (file a bug for toolchain@ to do that) or ask upstream to fix it (or both).
We can solve that with installing sys-libs/llvm-libunwind because that is ABI version 1 still. However users in need for this package likely want to use net-fs/samba as well which does not support the use of llvm-libunwind https://bugs.gentoo.org/791349 But i will go ahead and open an MR, at least the package will work again and conflicts will be written down clearly.
related info for other affected distros https://support.citrix.com/article/CTX339933/citrix-workspace-for-linux-on-linux-mint-hdx-optimization-fails-for-ms-teams-published-app https://discussions.citrix.com/topic/416197-hdx-rtme-on-ubuntu-ms-teams-not-optimized/ where people either take the risk of playing symlink tricks with ABI 8 to 1, or installing llvm-libunwind
It in fact shows up on net-misc/icaclient * QA Notice: Unresolved soname dependencies: * * /opt/Citrix/ICAClient/lib/libkcph.so: libgssapi.so.3 * /opt/Citrix/ICAClient/lib/libwebrpc.so: libunwind.so.1 * /opt/Citrix/ICAClient/util/HdxRtcEngine: libunwind.so.1 *
I got an answer from citrix on that. Turns out they depend on libunwind ABI version 1 from llvm. It is somehow really hidden ... https://docs.citrix.com/en-us/citrix-workspace-app-for-linux/configure-xenapp.html#adding-the-libunwind-12-library-dependency-for-llvm-12
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed148ef3a5c5bc769a7ffe7bb6b3e8fe586ba322 commit ed148ef3a5c5bc769a7ffe7bb6b3e8fe586ba322 Author: Henning Schild <henning@hennsch.de> AuthorDate: 2022-10-20 08:05:34 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-10 16:15:33 +0000 net-misc/icaclient: RDEPEND on sys-libs/llvm-libunwind Some binaries need libunwind.so.1 and installing sys-libs/llvm-libunwind used to be an issue because it caused a conflict with net-fs/samba. Plus it was unknown if the llvm version was the correct one, or if icaclient in fact needed an old sys-libs/libunwind. Now it is clear that sys-libs/llvm-libunwind is correct. https://docs.citrix.com/en-us/citrix-workspace-app-for-linux/configure-xenapp.html#adding-the-libunwind-12-library-dependency-for-llvm-12 Closes: https://bugs.gentoo.org/855374 Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/27867 Signed-off-by: Joonas Niilola <juippis@gentoo.org> ...{icaclient-22.9.0.21-r1.ebuild => icaclient-22.9.0.21-r2.ebuild} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)