Closed sdfgsdfgd closed 6 years ago
It looks like the libclang that was downloaded doesn't fit your OS. If your package manager provides a package containing liblang install that and use python install.py --clang-completer --system-libclang
.
Please complete the issue template. See CONTRIBUTING.md.
Fresh install of YCM with my plugin manager. Then, after running
python install.py --clang-completer
I get this: ... [100%] Linking CXX shared library /path/to/.vim/plugins/YouCompleteMe/third_party/ycmd/ycm_core.so /tmp/ycm_build_we36khk2/lib/libclang.so.6.0: file not recognized: File format not recognized c++: error: linker command failed with exit code 1 (use -v to see invocation) Error 1 in . (ycm/CMakeFiles/ycm_core.dir/build.make:696 '/path/to/.vim/plugins/YouCompleteMe/third_party/ycmd/ycm_core.so') Error 2 in . (CMakeFiles/Makefile2:141 'ycm/CMakeFiles/ycm_core.dir/all') Error 2 in . (CMakeFiles/Makefile2:141 'ycm/CMakeFiles/ycm_core.dir/rule') Error 2 in /mp/ycm_build_we36khk2 (Makefile:131 'ycm_core')
This is on OBSD6.3 .