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
python2 breaking lldb on osx #2730
Comments
Doesn't seem like an issue with Homebrew. Overriding system
|
It's an issue with the system LLDB and any |
I'm not familiar enough with homebrew to investigate how and what but I believe it's an issue in the python formula. No package that is installed via a package manager should break a fundamental utility like lldb. Someone suggested it might be down to the readline.so being for the wrong architecture which (I'd assume) can be fixed in the formula? Haven't yet looked into it at all tbh - fixed it by using python3 and not having homebrew install python2 - but I can certainly do that if it helps |
On the flip side: nothing installed into |
The problem is caused by the |
^ Actually there's a good chance it'll crash because _lldb.so is linked against the system Python! It's odd to me that we haven't seen this before. |
I can reproduce with Homebrew's python linked by running I propose that this is Apple's bug. |
Sounds to me like installing the six module with the python package by default (to avoid screwing up lldb) and raising an issue with Apple would be the right thing to do? |
I'd feel worse about it if anyone had ever complained before, tbh. |
Sounds sensible. Guessing nobody uses languages that require lldb to debug any more :) There are easy ways to fix this, hence it's not really a big issue and I've got it working now, so happy to close it. Thanks for looking into it |
Bug reports:
I've installed vim
brew install vim --replace-system-vi
on my mac and it has a dependency on python2. This dependency seems to be pulling down a 32bit readline.so and possibly other libraries that conflict with system libraries and break other tools. In my case it's lldbI'm not sure whether this is the right place to raise this, but it seemed fitting.
The text was updated successfully, but these errors were encountered: