Comment 8 for bug 785665

Revision history for this message
Gustav Hartvigsson (gustav-hartvigsson) wrote :

Ok bun now present in ubuntu 11.10

there is no libclang.so file installed when you install clang package...
and there in no other way to install it as I can see.

It is not rely a problem, right now, but clang_complete throws errors that libclang.so in not present:
<pre>
"main.cpp" 27L, 441C
Fel upptäcktes vid bearbetning av function <SNR>8_ClangCompleteInit..<SNR>8_initClangCompletePython:
rad 14:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/gego/.vim/plugin/libclang.py", line 1, in <module>
    from clang.cindex import *
  File "/home/gego/.vim/plugin/clang/cindex.py", line 91, in <module>
    lib = get_cindex_library()
  File "/home/gego/.vim/plugin/clang/cindex.py", line 83, in get_cindex_library
    return cdll.LoadLibrary(path)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 431, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libclang.so: kan inte öppna delad objektfil: Filen eller katalogen finns inte
rad 15:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'initClangComplete' is not defined
rad 18:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'WarmupCache' is not defined
Tryck RETUR eller skriv kommando för att fortsätta
</pre>