Hello everybody!
I鈥檓 using vundle for to install plugins on vim.
I need to install youcompleteme and to configure for c++
I followed this full guide of installation: https://github.com/Valloric/YouCompleteMe#full-installation-guide1
I arrived until step 4.
the terminal display this error:
/home/eriko/ycm_temp/archlinux/lib/libclang.so.4.0: error adding symbols: Fichero en formato err贸neo
collect2: error: ld devolvi贸 el estado de salida 1
make[3]: *** [ycm/CMakeFiles/ycm_core.dir/build.make:618: /home/eriko/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so] Error 1
make[2]: *** [CMakeFiles/Makefile2:141: ycm/CMakeFiles/ycm_core.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:153: ycm/CMakeFiles/ycm_core.dir/rule] Error 2
make: *** [Makefile:131: ycm_core] Error 2
Here more information: https://youtu.be/G0um1V26wTU
thanks for your help and sorry for my bad english
-Eric
You downloaded the wrong Clang archive: Clang for AArch64 Linux is not for Arch Linux but for the ARM architecture. Since you are on a distribution based on Arch Linux, I would recommend to build YCM against system Clang through the install.py script:
./install.py --clang-completer --system-libclang
You'll need to install the clang package if not already installed.
@micbou works great
Thank you very much!
Most helpful comment
You downloaded the wrong Clang archive:
Clang for AArch64 Linuxis not for Arch Linux but for the ARM architecture. Since you are on a distribution based on Arch Linux, I would recommend to build YCM against system Clang through theinstall.pyscript:You'll need to install the
clangpackage if not already installed.