-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.NullReferenceException on Raspberry PI - how to debug? #45
Comments
I have the same problem, but could solve it Tl;drfix it by adding a symbolic link to libdl.so.2 as the dotnet framework is not probing for libdl.so.2: Explanationif you attribute a file for interop the dotnet framework is probing the following paths and *.so names: find library=libdl.so [0]; searching And that's why the issue looks like it can find the libopenal.so.1, but it fails already earlier when trying to load libdl.so.1.
and on the raspberry with dietpi os (Bullseye):
How to debug
Finally it showed that it was not able to load the libdl.so.2 [pid 2463] 23:43:29 openat(AT_FDCWD, "/home/dietpi/test/libdl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) |
@Devinyl Wow, that is an awesome post. You, sir, deserve a cookie. Thank you very much, I'll try it in the next days... |
@Devinyl It worked. You saved me a lot of headache. Thank you very much... @feliwir I would like to leave this issue open, because I think it would definetely be worth it to:
What do you think? |
@sandreas Sure sounds good. I'd appreciate of either one of you could contribute these things. |
Hey there,
I tried SharpAudio on Raspberry PI and got an Exception. I already installed
openal
:I think, that SharpAudio might fail to load the library for some reason, but unfortunately I have no idea how to debug this...
openal
is installedlibopenal.so.1
existsHere is the code I used:
And the exception:
Could you please help me out again? :-) Thank you
The text was updated successfully, but these errors were encountered: