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

Use native system PATH to search for fuse-lib #72

Closed
infeo opened this issue Feb 22, 2023 · 0 comments · Fixed by #81
Closed

Use native system PATH to search for fuse-lib #72

infeo opened this issue Feb 22, 2023 · 0 comments · Fixed by #81

Comments

@infeo
Copy link
Member

infeo commented Feb 22, 2023

To load the fuse-library, we keep a list of possible locations for linux:

private static final String[] LIB_PATHS = {
"/usr/lib/libfuse3.so", // default
"/lib/x86_64-linux-gnu/libfuse3.so.3", // debian amd64
"/lib/aarch64-linux-gnu/libfuse3.so.3", // debiant aarch64
"/usr/lib64/libfuse3.so.3", // fedora
"/app/lib/libfuse3.so" // flatpak
};

But since there is a vast majority of Linux systems, we should consider discarding the list and let the native lib loader just scrape the system PATH.

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

Successfully merging a pull request may close this issue.

1 participant