Can someone help with a Goobuntu libstdc++ problem so I can use YCM with Chromium?
I'm trying to set up you-complete-me for VSCode for chromium using the instructions at:
However, when I start it I get this error:
Ycm startup failed. Please check your ycmd or python path. Detail: Unexpected error while loading the YCM core library.
Adding the VSCode setting "ycmd.debug": true reveals this error in the output panel:
[ycm stderr] 2017-08-17 15:41:14,734 - ERROR - /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/google/home/jamescook/.ycmd/ycmd/../libclang.so.4)
Traceback (most recent call last):
File "/usr/local/google/home/jamescook/.ycmd/ycmd/server_utils.py", line 96, in CompatibleWithCurrentCore
ycm_core = ImportCore()
File "/usr/local/google/home/jamescook/.ycmd/ycmd/server_utils.py", line 88, in ImportCore
import ycm_core as ycm_core
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/google/home/jamescook/.ycmd/ycmd/../libclang.so.4)
Indeed I don't have that GLIBCXX:
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
...
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH
I'm on Goobuntu Trusty:
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
Unfortunately this about as far as I can get on my limited knowledge of linux configuration. Any suggestions?
James