Skip to content

Crash upon startup, "System.DllNotFoundException: Unable to load shared library 'libEGL.dll' or one of its dependencies" (Linux Ubuntu) #53

@IndieMatchSunset

Description

@IndieMatchSunset

When trying to open Track Studio using "dotnet TrackStudio.dll" in the terminal, it spits out this text and doesn't open

Args :
FileInput
Unhandled exception. System.TypeInitializationException: The type initializer for 'OpenTK.DisplayDevice' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libEGL.dll' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.18/libEGL.dll.so: cannot open shared object file: No such file or directory
/home/indiematchsunset/Downloads/TrackStudio-Latest/net8.0/libEGL.dll.so: cannot open shared object file: No such file or directory
/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.18/liblibEGL.dll.so: cannot open shared object file: No such file or directory
/home/indiematchsunset/Downloads/TrackStudio-Latest/net8.0/liblibEGL.dll.so: cannot open shared object file: No such file or directory
/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.18/libEGL.dll: cannot open shared object file: No such file or directory
/home/indiematchsunset/Downloads/TrackStudio-Latest/net8.0/libEGL.dll: cannot open shared object file: No such file or directory
/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.18/liblibEGL.dll: cannot open shared object file: No such file or directory
/home/indiematchsunset/Downloads/TrackStudio-Latest/net8.0/liblibEGL.dll: cannot open shared object file: No such file or directory

at OpenTK.Platform.Egl.Egl.GetDisplay(IntPtr display_id)
at OpenTK.Platform.Linux.LinuxFactory.SetupDisplay(String gpu, IntPtr& gbm_device, IntPtr& egl_display)
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplay(IntPtr& gbm_device, IntPtr& egl_display)
at OpenTK.Platform.Linux.LinuxFactory.get_gpu_fd()
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplayDeviceDriver()
at OpenTK.DisplayDevice..cctor()
--- End of inner exception stack trace ---
at OpenTK.DisplayDevice.get_Default()
at UIFramework.Framework..ctor(MainWindow window, GraphicsMode gMode, String asssemblyVersion, String name, Int32 width, Int32 height) in C:\projects\track-studio\MapStudio.UI\src\UIFramework\Framework.cs:line 24
at TrackStudio.Program.Main(String[] args) in C:\projects\track-studio\Track Studio\src\Program.cs:line 51
Aborted (core dumped)

The file paths referenced here do exist except for the .dll files mentioned, which are missing and I'm not sure how to get them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions