Can not find libclang.so

Bug #1407764 reported by Tony Houghton
10
This bug affects 2 people
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/vim-youcompleteme/ycm/server/ycmd.py", line 98, in <module>
    Main()
  File "/usr/lib/vim-youcompleteme/ycm/server/ycmd.py", line 87, in Main
    from ycm.server import handlers
  File "/usr/lib/vim-youcompleteme/ycm/server/handlers.py", line 30, in <module>
    str( e ) ) )
RuntimeError: Error importing ycm_core. Are you sure you have placed a version 3.2+ libclang.[so|dll|dylib] in folder "/usr/lib/vim-youcompleteme"? See the Installation Guide in the docs. Full error: libclang.so.1: cannot open shared object file: No such file or directory

I've tried symlinking /usr/lib/x86_64-linux-gnu/libclang-3.4.so into /usr/lib/vim-youcompleteme as libclang-3.4.so, linclang.so and libclang.so.1 but nothing works. The docs suggest that the path has to be set when compiling the plugin so I think this needs to be fixed in the package.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: vim-youcompleteme 0+20140207+git18be5c2-1build1
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
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)

Revision history for this message
Tony Houghton (h-realh) wrote :
Revision history for this message
Tony Houghton (h-realh) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vim-youcompleteme (Ubuntu):
status: New → Confirmed
Changed in vim-youcompleteme (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.