-
Notifications
You must be signed in to change notification settings - Fork 75
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
Ubuntu 24.04, dotnet (sdk 8.0.110) & (runtime 8.0.10) Photino.NET template app won't run #223
Comments
Just tested this on my Debian 12.5 VirtualBox. |
@raddevus Could you check whether you have libwebkit2gtk-4.0 installed? |
@flyingpie Here you can see that detail in the Photino app I'm working on right now -- which lists all running processes & lets me get their details. thanks |
@raddevus Looks nice! This is an annoying issue, these things are going on:
The Tauri guys had the same problem, but Tuari 2 has moved to 4.1, which I suspect would also happen with Photino at some point. 23.04
24.04
|
Great info about this issue. I really appreciate it. It really is an annoying problem. |
@raddevus You're welcome! I've had this issue on one of my machines that's also running 24.04. I used this workaround, but it's not great. It adds the package repository for the previous release (Jammy). This is not recommended, but it can help until 4.1 is supported by Photino, and you don't want to run VM's. Add these to /etc/apt/sources.list.d/ubuntu.sources:
(Can also use other mirrors ofc). Then:
I'd recommend removing the Jammy repos after this. And not doing this on important production machines, like servers or whatever. Mixing repositories of multiple releases can cause lots of issues around dependencies, so again, don't do this on really important machines. |
I'm running :
Ubuntu 24.04.1 LTS
dotnet core that is current on that system is:
sdk 8.0.110
runtime 8.0.10
When you use the template to create a project it uses Photino.NET 2.3.0
When you run the template project you will get an errors that state:
`/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.10/libPhotino.Native: cannot open shared object file: No such file or directory
/home/raddev/dev/dotnet/photino/2025/third/bin/Debug/net8.0/libPhotino.Native: cannot open shared object file: No such file or directory`
App Won't Run
The dotnet CLR has tried to find libPhotino.Native and doesn't find it so the app won't run.
I've tried updating Photino.NET to 3.1.17 and 3.2.3 with no luck. I get the same error.
The Workaround Fix
However, I was able to update to Photino.NET 2.6.0 and successfully run the app.
So, the point here is that on Ubuntu 24.04.1 running those versions of .NET I can only use the Photino.NET 2.6.0 library.
The text was updated successfully, but these errors were encountered: