ptitSeb / box64

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

Respondus Lockdown Browser - needs libgnutils.so.30 fixed #1628

Open Botspot opened 2 weeks ago

Botspot commented 2 weeks ago

I am running a browser under wine which should work according to winehq. https://appdb.winehq.org/objectManager.php?bShowAll=true&bIsQueue=false&bIsRejected=false&sClass=version&sTitle=&sReturnTo=&iId=42004 I tested this on a x86 linux laptop and it does indeed work after doing winetricks allfonts msftedit. However, using the latest box64 with wine wow64 (as seen on Pi-Apps), the program cannot detect internet. I think this is the issue: the output repeats this message about 20 times, right before the error dialog appears.

Look for gnutls_pubkey_import_dh_raw in loaded elfs
Warning, function gnutls_pubkey_import_dh_raw not found in lib libgnutls.so.30

20240621_23h13m46s_grim Download link for future reference https://download.respondus.com/lockdown/download.php?ID=394334815 (windows 10 user-agent required) Direct link: https://downloads.respondus.com/installs/2.1.2.06/394334815/LockDownBrowser-2-1-2-06-394334815.exe

For others who need to use this browser for school: please find your school's link; my provided link is for my school and will not work with your school.

ptitSeb commented 2 weeks ago

I have added this symbol, and the main windows shows up on my side, but the browser stay stuck there...

I think you don't have that symbol in your arm64 version of the lib, that's why box64 still doesn't found it. It seems to be a fairly recent symbol, so you need a new version of libgnutls...

Botspot commented 2 weeks ago

Can confirm. The system lib from Bookworm is missing the function, but I downloaded the one from Debian Sid and it has it.

pi@raspberrypi:~ $ nm -D /usr/lib/aarch64-linux-gnu/libgnutls.so.30 | grep gnutls_pubkey_import_dh_raw
pi@raspberrypi:~ $ nm -D /home/pi/Downloads/usr/lib/aarch64-linux-gnu/libgnutls.so.30.37.1 | grep gnutls_pubkey_import_dh_raw
0000000000092cf0 T gnutls_pubkey_import_dh_raw@@GNUTLS_3_8_2

I don't want to install this package, so is there a way to force box64 to use this lib? Or would I have to find an x86 build of libgnutls.so.30.37.1 and ask box64 to forcibly emulate it?

ptitSeb commented 2 weeks ago

You can use LD_LIBRARY_PATH maybe?