Can not find libclang.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim-youcompleteme (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
The ycmd server stops every time I load vim, with this error:
2015-01-05 18:31:01,154 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
Traceback (most recent call last):
File "/usr/lib/
Main()
File "/usr/lib/
from ycm.server import handlers
File "/usr/lib/
str( e ) ) )
RuntimeError: Error importing ycm_core. Are you sure you have placed a version 3.2+ libclang.
I've tried symlinking /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: vim-youcompleteme 0+20140207+
ProcVersionSign
Uname: Linux 3.16.0-28-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 5 18:27:08 2015
InstallationDate: Installed on 2014-06-13 (205 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: vim-youcompleteme
UpgradeStatus: Upgraded to utopic on 2014-10-24 (73 days ago)
Changed in vim-youcompleteme (Ubuntu): | |
importance: | Undecided → High |
This bug was cured by installing libclang-dev, which is based on clang 3.5. I had some clang 3.4 packages already installed, and had installed libclang-3.4-dev too, but that doesn't seem to work with this vim-youcompleteme package, presumably because it was compiled with 3.5. So I think the package just needs its dependencies fixed to make sure the correct version of clang is installed at run-time.