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

My ccls-vscode-extension can not start the ccls server #122

Open
im-zhong opened this issue Jul 20, 2021 · 1 comment
Open

My ccls-vscode-extension can not start the ccls server #122

im-zhong opened this issue Jul 20, 2021 · 1 comment

Comments

@im-zhong
Copy link


Observed behavior

The first, I build gcc10.3.0 in my home path on centos7, and add the libstdc++.so in LD_LIBRARY_PATH.
Then, I build clang12.0.0 use that gcc.
Then, I compile the ccls use that gcc.
I can successfully run ccls --help in the shell. but vscode-ccls-extension can not start it because it load the /lib64/libstdc++.so which is a very old version and do not have the necessary components.

And I do NOT have the sudo privilege so I can not replace the /lib64/libstdc++.so to the newer version

This is the vscode-ccls-extension OUTPUT
image

Expected behavior

I want to use this extension.

System information

  • ccls version (git describe --tags): 0.20210330
  • OS: centos7, offline
  • Editor: vscode, version: 1.55.2
  • vscode-ccls version (git describe --tags): v0.1.29
@GitMensch
Copy link

Does it work if you setup and export LD_LIBRARY_PATH in a shell, then open vscode from there?

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

No branches or pull requests

2 participants