[OnlyOffice] libgtk-3.so Segfault / PltResolver / Symbol Not Found My setup is termux proot-distro ubuntu 21.10 (aarch64), with GTK3 (x86_64) installed through ubuntu multiarch, i.e. `sudo apt install libgtk-3-0:amd64` (therefore libgtk3 located in /usr/lib/x86_64-linux-gnu/). I downloaded .deb file from onlyoffice official website in `/tarballs` and unpack to `/tarballs/onlyoffice`. Then run it with: ``` export BOX64_LD_LIBRARY_PATH=/tarballs/onlyoffice/opt/onlyoffice/desktopeditors export BOX64_PATH=/tarballs/onlyoffice/opt/onlyoffice/desktopeditors export BOX64_LOG=1 box64 DesktopEditors ``` It happens to be ``` Error: PltResolver: Symbol g_option_group_set_parse_hooks(ver 1: g_option_group_set_parse_hooks) not found, cannot apply R_X86_64_JUMP_SLOT 0x7e7a32bbe0 (0x7e79b939a0) in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 17966|SIGSEGV @0x6497778c (???(box64/0x6497778c)) (x64pc=0x22093/???:"???", rsp=0x7e8cf8a7c0, stack=0x7e8c78d000:0x7e8cf8d000 own=(nil) fp=0x7e8cf8a7c8), for accessing 0x79460 (code=1/prot=81), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) Segmentation fault ``` ![Screenshot_20220204-205459_bVNC Free](https://user-images.githubusercontent.com/46513942/152776673-1a1dd8a5-6726-477e-aff1-4e970c007839.jpg) Full log from terminal: ``` Debug level is 1 Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Box64 with Dynarec v0.1.7 a358167 built on Feb 4 2022 13:21:39 BOX64_LD_LIBRARY_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/:/usr/lib/x86_64-linux-gnu/ BOX64_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/ Counted 48 Env var Looking for DesktopEditors Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfReader.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libDjVuFile.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libhunspell.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libooxmlsignature.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel_network.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libvideoplayer.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libascdocumentscore.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libqtascdocumentscore.so Using native(wrapped) libX11.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5PrintSupport.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Svg.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Widgets.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5X11Extras.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Gui.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Network.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Core.so.5 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) librt.so.1 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libgraphics.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libUnicodeConverter.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libHtmlRenderer.so Using native(wrapped) libm.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicuuc.so.58 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicudata.so.58 Using native(wrapped) libdl.so.2 Error: Global Symbol __libc_single_threaded not found, cannot apply R_X86_64_GLOB_DAT @0x7e886b22c0 ((nil)) in /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfWriter.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5MultimediaWidgets.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5Multimedia.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5OpenGL.so.5 Using native(wrapped) libGL.so.1 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicui18n.so.52 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicuuc.so.52 Using native(wrapped) libglib-2.0.so.0 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libicudata.so.52 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libXpsFile.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libcef.so Using emulated /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 Using native(wrapped) libgobject-2.0.so.0 Using native(wrapped) libnss3.so Using native(wrapped) libnssutil3.so Using native(wrapped) libsmime3.so Using native(wrapped) libnspr4.so Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libgio-2.0.so.0 Using native(wrapped) libgmodule-2.0.so.0 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libX11-xcb.so.1 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXdamage.so.1 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libXi.so.6 Using native(wrapped) libXtst.so.6 Using native(wrapped) libXss.so.1 Using native(wrapped) libexpat.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libasound.so.2 Using native(wrapped) libatk-1.0.so.0 Using native(wrapped) libatk-bridge-2.0.so.0 Using native(wrapped) libSM.so.6 Using native(wrapped) libICE.so.6 Using native(wrapped) libpango-1.0.so.0 Using native(wrapped) libcairo.so.2 Using native(wrapped) libatspi.so.0 Using native(wrapped) libgdk_pixbuf-2.0.so.0 Using native(wrapped) libpangocairo-1.0.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 Using emulated /usr/lib/x86_64-linux-gnu/libepoxy.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libfribidi.so.0 Using native(wrapped) libpangoft2-1.0.so.0 Using native(wrapped) libfreetype.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libxkbcommon.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libffi.so.8 Using emulated /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/platforms/libqxcb.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5XcbQpa.so.5 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libQt5DBus.so.5 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-android' Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/xcbglintegrations/libqxcb-glx-integration.so Using native(wrapped) libxcb-glx.so.0 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/platforminputcontexts/libibusplatforminputcontextplugin.so Debug level is 1 Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Box64 with Dynarec v0.1.7 a358167 built on Feb 4 2022 13:21:39 BOX64_LD_LIBRARY_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/:/usr/lib/x86_64-linux-gnu/ BOX64_PATH: /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/ Counted 49 Env var Looking for /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/editors_helper argv[1]="--type=zygote" argv[2]="--no-sandbox" argv[3]="--force-device-scale-factor=1" argv[4]="--log-file=/home/android/.local/share/onlyoffice/desktopeditors/data/cache/log.log" argv[5]="--log-severity=disable" argv[6]="--product-version=Chrome/75 AscDesktopEditor/6.2.0" argv[7]="--lang=en-US" Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libascdocumentscore.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel.so Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libgraphics.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libkernel_network.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfWriter.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libPdfReader.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libXpsFile.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libDjVuFile.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libHtmlRenderer.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libhunspell.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libooxmlsignature.so Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/libcef.so Using native(wrapped) libX11.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 Using native(wrapped) libgobject-2.0.so.0 Using native(wrapped) libglib-2.0.so.0 Using native(wrapped) libm.so.6 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libUnicodeConverter.so Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicuuc.so.58 Using emulated /tarballs/onlyoffice/opt/onlyoffice/desktopeditors/converter/libicudata.so.58 Using native(wrapped) libdl.so.2 Error: Global Symbol __libc_single_threaded not found, cannot apply R_X86_64_GLOB_DAT @0x70fbbd02c0 ((nil)) in /usr/lib/x86_64-linux-gnu/libstdc++.so.6 Using native(wrapped) libnss3.so Using native(wrapped) libnssutil3.so Using native(wrapped) libsmime3.so Using native(wrapped) libnspr4.so Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libgio-2.0.so.0 Using native(wrapped) libgmodule-2.0.so.0 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libX11-xcb.so.1 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXdamage.so.1 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libXi.so.6 Using native(wrapped) libXtst.so.6 Using native(wrapped) libXss.so.1 Using native(wrapped) libexpat.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libasound.so.2 Using native(wrapped) libatk-1.0.so.0 Using native(wrapped) libatk-bridge-2.0.so.0 Using native(wrapped) libSM.so.6 Using native(wrapped) libICE.so.6 Using native(wrapped) libpango-1.0.so.0 Using native(wrapped) libcairo.so.2 Using native(wrapped) libatspi.so.0 Using native(wrapped) libgdk_pixbuf-2.0.so.0 Using native(wrapped) libpangocairo-1.0.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 Using emulated /usr/lib/x86_64-linux-gnu/libepoxy.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libfribidi.so.0 Using native(wrapped) libpangoft2-1.0.so.0 Using native(wrapped) libfreetype.so.6 Using emulated /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libxkbcommon.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 Using emulated /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libffi.so.8 Using emulated /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 Error: PltResolver: Symbol g_option_group_set_parse_hooks(ver 1: g_option_group_set_parse_hooks) not found, cannot apply R_X86_64_JUMP_SLOT 0x7e7a32bbe0 (0x7e79b939a0) in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 17966|SIGSEGV @0x6497778c (???(box64/0x6497778c)) (x64pc=0x22093/???:"???", rsp=0x7e8cf8a7c0, stack=0x7e8c78d000:0x7e8cf8d000 own=(nil) fp=0x7e8cf8a7c8), for accessing 0x79460 (code=1/prot=81), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) Segmentation fault ```