ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.39k stars 239 forks source link

Teamspeak 3 will not run. How to install needed libraries? #90

Open StrikerMan780 opened 2 years ago

StrikerMan780 commented 2 years ago
Box64 with Dynarec v0.1.3 fd21d6a built on Aug 13 2021 17:05:48
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 52 Env var
Looking for ./ts3client_linux_amd64
Using emulated libquazip.so
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libz.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using emulated libQt5Core.so.5
Using emulated libQt5Gui.so.5
Using emulated libQt5Network.so.5
Using emulated libQt5Widgets.so.5
Using emulated libQt5Sql.so.5
Using emulated libQt5WebEngineCore.so.5
Using emulated libQt5WebEngineWidgets.so.5
Using emulated libQt5WebChannel.so.5
Using emulated libQt5WebSockets.so.5
Using emulated libQt5Svg.so.5
Using native(wrapped) libresolv.so.2
Using emulated libc++.so.1
Using emulated libc++abi.so.1
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
Error loading needed lib libgthread-2.0.so.0
Error loading one of needed lib
Error initializing needed lib libQt5Core.so.5
Error loading one of needed lib
Error initializing needed lib libquazip.so
Error loading one of needed lib
Error: loading needed libs in elf ./ts3client_linux_amd64

Seems TS3 won't run. Is there some way to get the needed libraries installed? I tried dpkg --add-architecture amd64, but it causes apt-get update to error out.

Running on a Raspberry Pi 4B, on Ubuntu MATE 21.04.

ptitSeb commented 2 years ago

GTK is not wrapped in box64 yet. It's planned for next dev. cyvle (so v0.1.5).

ptitSeb commented 2 years ago

GTK is wrapped now, you can retry...

StrikerMan780 commented 2 years ago

Will do as soon as I'm able.

StrikerMan780 commented 2 years ago

Still no dice.

Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.5 f054fb3 built on Sep 27 2021 01:04:58
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 51 Env var
Looking for ./ts3client_linux_amd64
Using emulated libquazip.so
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libz.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using emulated libQt5Core.so.5
Using emulated libQt5Gui.so.5
Using emulated libQt5Network.so.5
Using emulated libQt5Widgets.so.5
Using emulated libQt5Sql.so.5
Using emulated libQt5WebEngineCore.so.5
Using emulated libQt5WebEngineWidgets.so.5
Using emulated libQt5WebChannel.so.5
Using emulated libQt5WebSockets.so.5
Using emulated libQt5Svg.so.5
Using native(wrapped) libresolv.so.2
Using emulated libc++.so.1
Using emulated libc++abi.so.1
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) libgthread-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libGL.so.1
Using emulated libQt5Quick.so.5
Using emulated libQt5Qml.so.5
Using emulated libQt5Positioning.so.5
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libplds4.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXss.so.1
Error loading needed lib libpci.so.3
Error loading one of needed lib
Error initializing needed lib libQt5WebEngineCore.so.5
Error loading one of needed lib
Error: loading needed libs in elf ./ts3client_linux_amd64
docgalaxyblock commented 2 years ago

Greetings, any news on the progress to support the libs required by the ts client?

Since that last comment it now hangs at libEGL.so.1

Pi4 PiOS64 build 4.4.'22 full-upgraded

./TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh ``` test@test:~/Downloads $ ./TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Box64 with Dynarec v0.1.9 c8d4d3b built on May 17 2022 16:39:57 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 23 Env var Looking for ./ts3client_linux_amd64 Using emulated libquazip.so Using native(wrapped) libdl.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libz.so.1 Using native(wrapped) libm.so.6 Using native(wrapped) libpthread.so.0 Using emulated libQt5Core.so.5 Using emulated libQt5Gui.so.5 Using emulated libQt5Network.so.5 Using emulated libQt5Widgets.so.5 Using emulated libQt5Sql.so.5 Using emulated libQt5WebEngineCore.so.5 Using emulated libQt5WebEngineWidgets.so.5 Using emulated libQt5WebChannel.so.5 Using emulated libQt5WebSockets.so.5 Using emulated libQt5Svg.so.5 Using native(wrapped) libresolv.so.2 Using emulated libc++.so.1 Using emulated libc++abi.so.1 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) libgthread-2.0.so.0 Using native(wrapped) libglib-2.0.so.0 Using native(wrapped) libGL.so.1 Using emulated libQt5Quick.so.5 Using emulated libQt5Qml.so.5 Using emulated libQt5Positioning.so.5 Using native(wrapped) libnss3.so Using native(wrapped) libnssutil3.so Using native(wrapped) libsmime3.so Using native(wrapped) libplds4.so Using native(wrapped) libplc4.so Using native(wrapped) libnspr4.so Using native(wrapped) libexpat.so.1 Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libX11.so.6 Using native(wrapped) libX11-xcb.so.1 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXdamage.so.1 Using native(wrapped) libXext.so.6 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libXi.so.6 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXtst.so.6 Using native(wrapped) libXss.so.1 Using native(wrapped) libpci.so.3 Using native(wrapped) libasound.so.2 Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libxml2.so.2 Using native(wrapped) libxslt.so.1 Error loading needed lib libEGL.so.1 Error loading one of needed lib Error initializing needed lib libQt5WebEngineCore.so.5 Error loading one of needed lib Error: loading needed libs in elf /home/test/Downloads/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 test@test:~/Downloads $ sudo find / -name libEGL.so.1 /usr/lib/libEGL.so.1 /usr/lib/aarch64-linux-gnu/libEGL.so.1 ```

I would love to have a always on Pi mounted at my monitor to use TS

The beta TS5 requires libgtk-3 I know that that is not yet implemented ^^

ptitSeb commented 2 years ago

The wrapping of libEGL is on my todo, but I haven't started working on it yet.

docgalaxyblock commented 1 year ago

Greetings @ptitSeb I tried it today again (after receiving my Radxa ROCK5 🥳) and it know hangs on libnss3.so

Error initializing native libnss3.so (last dlerror is libnss3.so: cannot open shared object file: No such file or directory)
Error initializing needed lib libQt5WebEngineCore.so.5

I would love to try out this board as a desktop replacement but therefore ts must work 🙃 Is this lib on you todo? 👋

ptitSeb commented 1 year ago

you are trying to run the TS3 client? It just run for me. All the needed libs should be wrapped, so just install libnss3 from your distro.

docgalaxyblock commented 1 year ago

🤦 it starts now but segmentation vault crashes shortly after the gui appears It is maybe caused by the early OS for this board Will test it later on a Pi - if it runs fine I will respond and the you can close this Thx

docgalaxyblock commented 1 year ago

So I used the emulated TS nearly a month now. I did encounter some segvault crashes from time to time and I guess I narrowed how they happen

@ptitSeb Could you please take a look at teamspeak again - especially the sound part/libs If you try to playback the playback-sounds-test in the settings it crashes every time. So my guess is that sometimes the join/leave/... sounds (that you do not hear) crash it.

Bot voice communication itself works flawlessly

ptitSeb commented 1 year ago

Ok I'll check later.

rajdakin commented 16 hours ago

Is this fixed now?

docgalaxyblock commented 15 hours ago

I did not tried it again yet