Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

Troubleshooting • Re: OpenTabletDriver + box64 - - how to purge

$
0
0
This might be a different problem than I thought. I've manually installed dotnet 6.0.25 (ARM64 version) from the Microsoft website, and this has changed the error.

dotnet --info

raspberry-pi-400:/opt/dotnet/host/fxr/6.0.25$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.417
Commit: 04fde1d2e3

Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: debian.12-arm64
Base Path: /opt/dotnet/sdk/6.0.417/

global.json file:
Not found

Host:
Version: 6.0.25
Architecture: arm64
Commit: 492abbeef0

.NET SDKs installed:
6.0.417 [/opt/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.25 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.25 [/opt/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info

======

raspberry-pi-400:/opt/dotnet/host/fxr/6.0.25$ otd
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 81 entries
Box64 with Dynarec v0.3.1 7a4a4429 built on Jul 13 2024 18:29:44
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 50 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /usr/local/lib/opentabletdriver/OpenTabletDriver.Console
Rename process to "OpenTabletDriver.Console"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
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) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Failed to load /opt/dotnet/host/fxr/6.0.25/libhostfxr.so, error: Cannot dlopen("/opt/dotnet/host/fxr/6.0.25/libhostfxr.so"/0x43e8eb38, 1)

The library libhostfxr.so was found, but loading it from /opt/dotnet/host/fxr/6.0.25/libhostfxr.so failed

- Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=2063370

======================

I've set permissions on libhostfxr.so and its folder to 777. The list of C++ libraries doesn't correspond to what packages Debian keeps them in, e.g.
libgcc_s.so.1 is in libgcc-s1. That's already been installed via apt-get but BOX64 shows it as emulated, I guess they needed to modify it to support x64... Most of the advice on the libhostfxr.so library is that the errors are due to mismatches between versions of dotnet, but I wonder if this is between dotnet and one of the emulated or wrapped dependencies provided by box64.

According to a forum post:- "libhostfxr.so is the library responsible for finding suitable version of .NET Core runtime or SDK, both internally and by external applications (see MSBuild below). It is bundled with dotnet-host and resides in $DOTNET_ROOT/host/fxr/$version. "

dotnet works and is able to build projects etc, it just can't run the otd command, which box64 takes over because it's x64 architecture.

Statistics: Posted by linuxforpunks — Mon Jul 22, 2024 1:01 pm



Viewing all articles
Browse latest Browse all 5288

Trending Articles