I am using linux mint an I have installed clang_complete using the makefile of Clang Complete. But it does not work. When I open a cpp file, there is an error message:
Loading libclang failed, completion won't be available. Consider setting g:clang_library_path
I already did some research on this topic and tried to find the libclang.so file to put g:clang_library_path= '...' into my vimrc. But I cannot find the file. So i cannot define the path in my vimrc.
$ find / -name libclang -type f 2> /dev/null
doesn't return anything.
I would be happy to get some help in order to make clang_complete work.
You probably have libclang.so.1
in /usr/lib/x86_64-unknown-linux
or somewhere similar. Make a symbolic link named as libclang.so
in any of your library path would solve the problem (at least for me).
cd /usr/lib/x86_64-unknown-linux
ln -s libclang.so.1 libclang.so