MaskRay / vscode-ccls

ccls plugin for Visual Studio Code
123 stars 37 forks source link

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

Open im-zhong opened 3 years ago

im-zhong commented 3 years ago

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

GitMensch commented 1 year ago

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