[Nix-dev] YouCompleteMe (ycmd) server cannot be started: Library not loaded: @loader_path/libclang.dylib

Ben Zhang benzhangniu at gmail.com
Mon May 1 21:00:35 CEST 2017


Hi all,

A while ago, my YouCompleteMe vim plugin stopped working. The client log file says that it cannot connect to the server, and the server log file shows the following:

> 2017-05-01 14:48:42,343 - ERROR - dlopen(/nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycmd/../ycm_core.so, 2): Library not loaded: @loader_path/libclang.dylib
>   Referenced from: /nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycm_core.so
>   Reason: image not found
> Traceback (most recent call last):
>   File "/nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycmd/server_utils.py", line 95, in CompatibleWithCurrentCore
>     ycm_core = ImportCore()
>   File "/nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycmd/server_utils.py", line 87, in ImportCore
>     import ycm_core as ycm_core
> ImportError: dlopen(/nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycmd/../ycm_core.so, 2): Library not loaded: @loader_path/libclang.dylib
>   Referenced from: /nix/store/qih75i2liq4n59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycm_core.so
>   Reason: image not found

Has anyone experienced a similar problem before?

Thanks,

Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170501/b14ef82c/attachment-0001.html>


More information about the nix-dev mailing list