keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.61k stars 1.43k forks source link

AppImage: cannot run: "error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory" #10812

Closed vitaly-zdanevich closed 3 months ago

vitaly-zdanevich commented 3 months ago

$ ./KeePassXC-2.7.8-x86_64.AppImage -h keepassxc: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory

phoerious commented 3 months ago

Please don't delete the issue template. That makes it very hard to help you. If you are running Ubuntu, try installing libusb-1.0-0.

vitaly-zdanevich commented 3 months ago

But the purpose of AppImage is to have dependencies inside.

phoerious commented 3 months ago

Not all base dependencies can or should be packaged. See https://github.com/AppImageCommunity/pkg2appimage/issues/378

vitaly-zdanevich commented 3 months ago

Hm, many people do not need a USB functionality, what about creating a smaller AppImage without USB?

vitaly-zdanevich commented 3 months ago

If you are running Ubuntu

I am on Gentoo Linux.

phoerious commented 3 months ago

libusb should be preinstalled on most systems, that's why it's not packaged.

droidmonkey commented 3 months ago

At the end of the day, if you want a fully contained deployment use Flatpak. Appimage, despite perceptions, is absolutely not that. And this isn't a keepassxc problem.