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

Language Server: dyld: lazy symbol binding failed: Symbol not found: _clock_gettime #2344

Closed
avence12 opened this issue Aug 7, 2018 · 3 comments

Comments

@avence12
Copy link

avence12 commented Aug 7, 2018

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • OS and version: OSX 10.11.6
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7.13
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: XXX

Actual behavior

python linting and code snippet are not working because of missing _clock_gettime on OSX 10.11. Is there any workaround not to upgrade High Sierra?

Expected behavior

python plugin connect to language server and work well

Steps to reproduce:

  1. Install the latest python plugin (2018.7.1)

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

[Info  - 3:17:16 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/LightBlue/.vscode/extensions/ms-python.python-2018.7.1/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/LightBlue/.vscode/extensions/ms-python.python-2018.7.1/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

[Error - 3:17:16 PM] Connection to server got closed. Server will not be restarted.
@MikhailArkhipov
Copy link

Sorry, only OSX 10.12+ is supported as LS is in NET Core 2.0
https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md

Same as #2245

@caimaoy
Copy link

caimaoy commented Aug 23, 2018

Is there any way to fix the problem without upgrading the OS?

@brettcannon
Copy link
Member

@caimaoy @avence12 the fix is to stick with Jedi by setting "python.jediEnabled": true. We will also have code in the next release to help prevent people from trying to run the language server when they actually were never going to be able to.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants