Skip to content
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

Arch Linux Missing Dependencies #1707

Open
lolpro11 opened this issue Sep 21, 2024 · 3 comments
Open

Arch Linux Missing Dependencies #1707

lolpro11 opened this issue Sep 21, 2024 · 3 comments

Comments

@lolpro11
Copy link

/usr/lib/share/git-credential-manager/liblibHarfBuzzSharp.so: cannot open shared object file: No such file or directory
/usr/lib/share/git-credential-manager/libHarfBuzzSharp: cannot open shared object file: No such file or directory
/usr/lib/share/git-credential-manager/liblibHarfBuzzSharp: cannot open shared object file: No such file or directory
Unhandled exception. System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
 ---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' 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/share/git-credential-manager/libSkiaSharp.so: cannot open shared object file: No such file or directory
/usr/lib/share/git-credential-manager/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
/usr/lib/share/git-credential-manager/libSkiaSharp: cannot open shared object file: No such file or directory
/usr/lib/share/git-credential-manager/liblibSkiaSharp: cannot open shared object file: No such file or directory

   at SkiaSharp.SkiaApi.sk_colortype_get_default_8888()
   at SkiaSharp.SKImageInfo..cctor()
   --- End of inner exception stack trace ---
   at Avalonia.Skia.PlatformRenderInterface..ctor(Nullable`1 maxResourceBytes)
   at Avalonia.Skia.SkiaPlatform.Initialize(SkiaOptions options)
   at Avalonia.SkiaApplicationExtensions.<>c.<UseSkia>b__0_0()
   at Avalonia.AppBuilder.SetupUnsafe()
   at Avalonia.AppBuilder.Setup()
   at Avalonia.AppBuilder.SetupWithoutStarting()
   at GitCredentialManager.UI.AvaloniaUi.<>c__DisplayClass8_1.<ShowWindowAsync>b__1(CancellationToken appCancelToken)
   at GitCredentialManager.UI.Dispatcher.DispatcherJob.Execute(CancellationToken ct)
   at GitCredentialManager.UI.Dispatcher.DispatcherJobQueue.Run()
   at GitCredentialManager.UI.Dispatcher.Run()
   at GitCredentialManager.Program.Main(String[] args)
error: git-credential-manager died of signal 6

This happens in Arch Linux. Could you guys update the dependencies list in the AUR to include skia-sharp-2.88.8-1?
Thanks.

@paolomainardi
Copy link

Same issue.

@dscho
Copy link
Collaborator

dscho commented Sep 23, 2024

Could you guys update the dependencies list in the AUR to include skia-sharp-2.88.8-1?

How would you do that? Could you demonstrate, preferably in a PR?

@oliveiraop
Copy link

The linux tarball comes with two extra files libHarfBuzzSharp.so and libSkiaSharp.so.
I resolved the issue copying these to /usr/lib/share/git-credential-manager folder alongside the installed binaries via AUR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants