-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Ycm server won't start #2230
Comments
That means that there is a mismatch between the version of libstdc++ required by the precompiled libclang that we download from the llvm site and the one you have installed. This is a bit strange since the one that we install is made for ubuntu 14.04 so there must be something wrong. What is the output of |
Thre is something strange...
|
You are on Ubuntu 14.04 32-bit and since there is no Clang pre-built binaries available for this architecture, we use the binaries for Fedora 32-bit instead which seem to depend on a more recent version of libstdc++6. Try to update libstdc++6 by following these steps: sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6 |
@micbou i have installed packages as you said in your comment and now I have another problem
|
My bad, you need to upgrade your packages, not just sudo apt-get upgrade |
still the same problem |
Did you run again the |
Yes, i did it again, still issue with libclang |
One thing that you could do for sure is to follow the full guide and compile libclang yourself... I know is not an optimal solution... |
Or you could try to |
I am closing this since it is a configuration issue and we don't support Ubuntu 32-bit (only 64-bit). |
I just saw this error on Ubuntu 17.04. The following command fixed it for me:
I got the idea from this thread. Note: I did not perform the |
Another option that worked for me, as I used gcc-5.2(non system gcc) to compile ycm, is to copy libstdc++.so.6 to the third_party/ycmd folder The system libstdc++.so.6 file didn't have the necessary tag required by ycore.so as this lib wasn't used during compile time. System Ubuntu 14.04 64bit with gcc 4.6 |
centos 7.4 also have this promblem |
For RHEL/Centos we have a wiki entry on how to make it work. |
@bstaletic will you provide a link for RHEL/CentOS wiki? Thanks a lot |
Click on the wiki tab. Then click on the "Full installation on CentOS". https://github.com/ycm-core/YouCompleteMe/wiki/Full-installation-on-CentOS |
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.:YcmToggleLogs stderr
.version) I am using.
my issue.
that any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
[If filing a bug report, please include a list of steps that describe how to
reproduce the bug you are experiencing. Also include test code if relevant.]
I have installed Ycm via Vundle on vim7.4 in Ubuntu 14.04 on VirtualBox.
Compiled it with --clang-completer option
After opening any cpp/hpp file I got error message like that:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected error while loading the YCM core library. Run ':YcmToggleLogs stderr' to check the logs.
After command
:YcmToggleLogs
i checked that:
The text was updated successfully, but these errors were encountered: