ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.28k stars 226 forks source link

CrossCode #336

Open mbodomi opened 3 years ago

mbodomi commented 3 years ago
Trying to add "libnss3.so" to maplib
Trying to load "libnss3.so"
Simplified name is "libnss3.so"
Faillure to create lib => fail
Error loading needed lib: "libnss3.so"
Failure to Add dependant lib => fail
Error loading needed lib: "libnw.so"
Error: loading needed libs in elf ./CrossCode
Closing 11 libs from maplib 0x64020b90

So I need to get an x86 libnss3.so?

mbodomi commented 3 years ago

I added some .so's it couldnt load in the game's libs direcory from these debian buster i386 debs:

libatspi2.0-0_2.30.0-7_i386.deb
libatk-bridge2.0-0_2.30.0-5_i386.deb
libexpat1_2.2.6-2+deb10u1_i386.deb
libnspr4_4.20-1_i386.deb
libnss3_3.42.1-1+deb10u3_i386.deb

this is the output log stderr showed a segfault: https://gist.github.com/5367d0eeeacf69aded6bb268b066fa84

Wooty-B commented 2 years ago

From my understanding libnss3 isn't wrapped yet, so using amd64 or i386 binaries in place may result in segfaults. I just tried this with libgtk3-0 using the amd64 package, app still terminates just with an error related to the amd64 library instead of it not being located/used.

ptitSeb commented 1 year ago

libnss3 is wrapped now. But the x86 version of it can be used yes.

Can this ticket be closed?