Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812926 - =net-im/telegram-desktop-2.9.3 fails to compile: liblib_webview.a(webview_linux_webkit_gtk.cpp.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
Summary: =net-im/telegram-desktop-2.9.3 fails to compile: liblib_webview.a(webview_lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Esteve Varela Colominas
URL: https://github.com/desktop-app/lib_we...
Whiteboard:
Keywords: PullRequest, UPSTREAM
: 813090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-13 08:18 UTC by Azamat H. Hackimov
Modified: 2021-09-16 12:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
telegram-desktop-2.9.3_dlopen_linking.patch (3cb51ac668d4e1b4f7f2b95fed1192350ba403af.patch,841 bytes, patch)
2021-09-13 08:20 UTC, Azamat H. Hackimov
Details | Diff
build.log (net-im:telegram-desktop-2.9.3:20210913-074031.log.bz2,42.48 KB, application/x-bzip)
2021-09-13 08:22 UTC, Azamat H. Hackimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2021-09-13 08:18:08 UTC
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
Comment 1 Azamat H. Hackimov 2021-09-13 08:20:31 UTC
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
Comment 2 Azamat H. Hackimov 2021-09-13 08:22:45 UTC
Created attachment 739174 [details]
build.log
Comment 3 Esteve Varela Colominas 2021-09-14 07:44:48 UTC
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.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-14 20:51:11 UTC
*** Bug 813090 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2021-09-16 12:07:44 UTC
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(+)