box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Running electron app causes `Error: Global Symbol OPENSSL_...` errors

Open ep1cman opened this issue 4 years ago • 2 comments

I am trying to run an electron based app called nrfconnect and have provided it will all the libraries it needs but it still ends up missing openSSL related symbols. #70 seems to exhibit the same behaviour so it must be something todo with chromium.

Any ideas how I could resolve this?

Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.7 40c5824 built on Nov 30 2021 19:07:35
BOX64_LD_LIBRARY_PATH: ../x64_lib/
Using default BOX64_PATH: ./:bin/
Counted 27 Env var
Looking for ./nrfconnect
Using emulated libffmpeg.so
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using emulated ../x64_lib/libxshmfence.so.1
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-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) 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) libXau.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libdbus-1.so.3
Using emulated ../x64_lib/libdrm.so.2
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using emulated ../x64_lib/libgtk-3.so.0
Using emulated ../x64_lib/libgdk-3.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libxkbcommon.so.0
Using emulated ../x64_lib/libgbm.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libatspi.so.0
Using native(wrapped) libcups.so.2
Using emulated /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) librt.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libXi.so.6
Using emulated ../x64_lib/libcairo-gobject.so.2
Using emulated ../x64_lib/libwayland-cursor.so.0
Using emulated ../x64_lib/libwayland-egl.so.1
Using emulated ../x64_lib/libwayland-client.so.0
Using emulated ../x64_lib/libepoxy.so.0
Using emulated ../x64_lib/libfribidi.so.0
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libfreetype.so.6
Using emulated ../x64_lib/libharfbuzz.so.0
Using emulated ../x64_lib/libgraphite2.so.3
Using emulated ../x64_lib/libpixman-1.so.0
Using native(wrapped) libpng16.so.16
Using native(wrapped) libxcb-shm.so.0
Using emulated ../x64_lib/libxcb-render.so.0
Using native(wrapped) libz.so.1
Using emulated ../x64_lib/libffi.so.7
Error: Global Symbol OPENSSL_memory_alloc not found, cannot apply R_X86_64_GLOB_DAT @0x7f86df9aa8 ((nil)) in /home/pi/Downloads/nrfconnect-3.9.1-x64/nrfconnect
Error: Global Symbol OPENSSL_memory_free not found, cannot apply R_X86_64_GLOB_DAT @0x7f86df9ab0 ((nil)) in /home/pi/Downloads/nrfconnect-3.9.1-x64/nrfconnect
Error: Global Symbol sdallocx not found, cannot apply R_X86_64_GLOB_DAT @0x7f86df9ab8 ((nil)) in /home/pi/Downloads/nrfconnect-3.9.1-x64/nrfconnect
Error: Global Symbol OPENSSL_memory_get_size not found, cannot apply R_X86_64_GLOB_DAT @0x7f86df9ac0 ((nil)) in /home/pi/Downloads/nrfconnect-3.9.1-x64/nrfconnect
Error: PltResolver: Symbol clone(ver 2: clone@GLIBC_2.2.5) not found, cannot apply R_X86_64_JUMP_SLOT 0x7f86dfcbc0 (0x7f8692a456) in /home/pi/Downloads/nrfconnect-3.9.1-x64/nrfconnect
Stop waiting for remaining thread 3955
Aborted

ep1cman avatar Nov 30 '21 21:11 ep1cman

Similar errors occur when attempting to start Hypnospace Outlaw:

Error: Global Symbol OPENSSL_memory_alloc not found, cannot apply R_X86_64_GLOB_DAT @0xffff91303ff8 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol OPENSSL_memory_free not found, cannot apply R_X86_64_GLOB_DAT @0xffff91304000 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol OPENSSL_memory_get_size not found, cannot apply R_X86_64_GLOB_DAT @0xffff91304010 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol sdallocx not found, cannot apply R_X86_64_GLOB_DAT @0xffff91304008 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol OPENSSL_memory_alloc not found, cannot apply R_X86_64_GLOB_DAT @0xffff98c34ff8 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol OPENSSL_memory_free not found, cannot apply R_X86_64_GLOB_DAT @0xffff98c35000 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol OPENSSL_memory_get_size not found, cannot apply R_X86_64_GLOB_DAT @0xffff98c35010 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so
Error: Global Symbol sdallocx not found, cannot apply R_X86_64_GLOB_DAT @0xffff98c35008 ((nil)) in /home/lmt/.steam/debian-installation/steamapps/common/Hypnospace Outlaw/lib/libnw.so

netthier avatar Dec 26 '21 20:12 netthier

Got the same error when trying to run GitHub Desktop:

Error: Global Symbol OPENSSL_memory_alloc not found, cannot apply R_X86_64_GLOB_DAT @0x7fbd494a68 ((nil)) in /home/pi/gh-desktop/desktop/usr/lib/github-desktop/github-desktop
Error: Global Symbol OPENSSL_memory_free not found, cannot apply R_X86_64_GLOB_DAT @0x7fbd494a70 ((nil)) in /home/pi/gh-desktop/desktop/usr/lib/github-desktop/github-desktop
Error: Global Symbol OPENSSL_memory_get_size not found, cannot apply R_X86_64_GLOB_DAT @0x7fbd494a80 ((nil)) in /home/pi/gh-desktop/desktop/usr/lib/github-desktop/github-desktop
Error: Global Symbol sdallocx not found, cannot apply R_X86_64_GLOB_DAT @0x7fbd494a78 ((nil)) in /home/pi/gh-desktop/desktop/usr/lib/github-desktop/github-desktop
Error: PltResolver: Symbol clone(ver 2: clone@GLIBC_2.2.5) not found, cannot apply R_X86_64_JUMP_SLOT 0x7fbd4ab820 (0x7fbd00c8f6) in /home/pi/gh-desktop/desktop/usr/lib/github-desktop/github-desktop
Stop waiting for remaining thread 7631
Aborted

@ptitSeb

cycool29 avatar Feb 09 '22 10:02 cycool29

I'm also seeing this when trying to run Trilium Notes

meichthys avatar Oct 06 '23 04:10 meichthys