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
Bundle linux deps #11681
Bundle linux deps #11681
Conversation
I fear that this will only make it more difficult to diagnose dependency problems -- by papering over direct dependencies you change the errors that users will see to refer to the dependencies' dependencies. This is also bound to lead to fun situations when e.g. Ubuntu pushes an ABI change to said indirect dependencies (they spent a big part of last month doing exactly that ahead of the 24.04 LTS release). And occasionally you can expect some even more bizarre failure modes: |
@jansol I may be wrong, but I think From my early conversations with people trying to use remote development, there are a number who need zed to work without sudo access, and I think this is the best way to support that (though I am open to other ideas if you have any). It seems like the linker will continue to default to the system libraries if you have them installed, so this takes some % of users from "can't run zed at all" to "zed works, but we might find more problems later" :D. |
Hmm looks like it does, I might remember that wrong then. It does however not see libraries that are loaded with IIRC The linker goes in order |
Thanks for the pointer. @kvark are there other libraries like vulkan that we need to bundle to make zed run without sudo? |
I'm going to merge this as is so I can test the bundling/auto-updating aspects of this. As the primary use-case right now is remote development, I don't expect to hit the missing vulkan libraries; but we can/should probably add them too. |
This doesn't seem to be correct - when I run it here, it errors out because The bundle script runs |
Sorry about that, fix here: #11783 |
Confirming that it works, thanks for the quick fix! |
Inlcude linux deps in the bundle Release Notes: - N/A
Inlcude linux deps in the bundle
Release Notes: