Current stable =net-im/telegram-desktop-2.9.3 fails to compile with error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: Telegram/lib_webview/liblib_webview.a(webview_linux_webkit_gtk.cpp.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' Need to apply upstream patch https://github.com/desktop-app/lib_webview/commit/3cb51ac668d4e1b4f7f2b95fed1192350ba403af to resolve problem
Created attachment 739171 [details, diff] telegram-desktop-2.9.3_dlopen_linking.patch Proposed patch from upstream https://github.com/desktop-app/lib_webview/commit/3cb51ac668d4e1b4f7f2b95fed1192350ba403af
Created attachment 739174 [details] build.log
I could've sworn I had tested USE=webkit, but maybe our setups differ in some way. Thanks a lot for supplying the patch, I'll add it asap.
*** Bug 813090 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5846f2c91be868a2962271ddd7f6c753e83c45 commit 4e5846f2c91be868a2962271ddd7f6c753e83c45 Author: Esteve Varela Colominas <esteve.varela@gmail.com> AuthorDate: 2021-09-14 20:52:28 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-09-16 12:07:01 +0000 net-im/telegram-desktop: Add libdl dependency Fixes build error with USE=webkit Closes: https://bugs.gentoo.org/812926 Thanks-to: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../files/tdesktop-2.9.3-add-libdl-dependency.patch | 15 +++++++++++++++ net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild | 1 + 2 files changed, 16 insertions(+)