ptitSeb / box64

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

Error Initializing needed lib libopenal.so.1 #1937

Open ahmedbarakat2007 opened 5 days ago

ahmedbarakat2007 commented 5 days ago

Hi so i get this error where it can't initialize libopenal.so.1 even though it's already installed Here is the logs

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A75 with 8 Cores Will use Hardware counter measured at 26.0 MHz emulating 3.3 GHz Params database has 14 entries Box64 with Dynarec v0.2.9 built on Jun 26 2024 12:50:09 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 27 Env var BOX64 LIB PATH: /usr/lib/aarch64-linux-gnu/:./:lib/:lib64/:x86_64/:bin64/:libs64/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/ Looking for ./squashfs-root/usr/bin/rpcs3 Rename process to "rpcs3" Using native(wrapped) librt.so.1 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libdl.so.2 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libevdev.so.2 Using native(wrapped) libSDL2-2.0.so.0 Using native(wrapped) libm.so.6 Using native(wrapped) libpthread.so.0 Using native(wrapped) libopenal.so.1 Using native(wrapped) libz.so.1 Using native(wrapped) libtinfo.so.5 Using native(wrapped) libGL.so.1 Using native(wrapped) libvulkan.so.1 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libGLEW.so.2.2 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5DBus.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Concurrent.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5MultimediaWidgets.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Multimedia.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Svg.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Widgets.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Gui.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libQt5Core.so.5 Using native(wrapped) libudev.so.1 Using emulated /root/usr/local/bin/squashfs-root/usr/bin/../lib/libcurl.so.4 Using emulated libstdc++.so.6 Using emulated libgcc_s.so.1 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) libbsd.so.0 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libnghttp2.so.14 Using native(wrapped) libidn2.so.0 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/librtmp.so.1 Using native(wrapped) libpsl.so.5 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libssl.so.1.1 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libcrypto.so.1.1 Using native(wrapped) libgssapi_krb5.so.2 Using native(wrapped) libldap_r-2.4.so.2 Using native(wrapped) liblber-2.4.so.2 Using native(wrapped) libgnutls.so.30 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libhogweed.so.4 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libnettle.so.6 Using native(wrapped) libgmp.so.10 Error: Symbol psl_builtin not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0a280488 (0xafc6) in /root/usr/local/bin/squashfs-root/usr/bin/../lib/libcurl.so.4 Error: Symbol gss_unseal not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0a280508 (0xb0c6) in /root/usr/local/bin/squashfs-root/usr/bin/../lib/libcurl.so.4 Error: Symbol gss_seal not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0a280ca0 (0xbff6) in /root/usr/local/bin/squashfs-root/usr/bin/../lib/libcurl.so.4 Error: Symbol psl_get_version not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0a280d50 (0xc156) in /root/usr/local/bin/squashfs-root/usr/bin/../lib/libcurl.so.4 Error: relocating Plt symbols in elf libcurl.so.4 Error initializing needed lib libopenal.so.1 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libicui18n.so.60 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libicuuc.so.60 Using native(wrapped) libglib-2.0.so.0 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libicudata.so.60 Using native(wrapped) libpng16.so.16 Using native(wrapped) libharfbuzz.so.0 Using emulated /root/usr/local/bin/squashfs-root/usr/lib/libQt5Network.so.5 Using native(wrapped) libpulse.so.0 Using native(wrapped) libdbus-1.so.3 Error loading one of needed lib Error: Loading needed libs in elf /root/usr/local/bin/squashfs-root/usr/bin/rpcs3

FoxbitDreamtail commented 5 days ago

1st off, you are a psycopath for trying to run PS3 games on a Pi5(or equivalent), 2nd of all, this seems to be a real issue reguardless and does need to be resolved, what linux distro are you running and where'd you get Box64 from?

ahmedbarakat2007 commented 5 days ago

1st off, you are a psycopath for trying to run PS3 games on a Pi5(or equivalent), 2nd of all, this seems to be a real issue reguardless and does need to be resolved, what linux distro are you running and where'd you get Box64 from?

Lol i 100% agree but i am using a phone not a pi5 😂(still a psycopath) and i am using Ubuntu 24.04 Proot Distro and i got the box64 from winlator as compiling it crashed termux for some weird reasons

hisham2630 commented 4 days ago

1st off, you are a psycopath for trying to run PS3 games on a Pi5(or equivalent), 2nd of all, this seems to be a real issue reguardless and does need to be resolved, what linux distro are you running and where'd you get Box64 from?

Lol i 100% agree but i am using a phone not a pi5 😂(still a psycopath) and i am using Ubuntu 24.04 Proot Distro and i got the box64 from winlator as compiling it crashed termux for some weird reasons

well, to compile box64 without issue on termux, you have to disable android phantom process killer, also the version of box64 that you have from winlator might be old. back to the issue you have, the initializing of libopenal failed maybe due to some missing libcurl symbols that ptitseb needs to wrap them.