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

Domen Kožar domen at dev.si
Tue May 2 09:32:56 CEST 2017


https://github.com/NixOS/nixpkgs/pull/25352

On Tue, May 2, 2017 at 9:19 AM, Domen Kožar <domen at dev.si> wrote:

> Usually, that's because of https://github.com/NixOS/nixpkgs/issues/21624,
> but I don't know the specifics.
>
> On Mon, May 1, 2017 at 9:00 PM, Ben Zhang <benzhangniu at gmail.com> wrote:
>
>> 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/qih75i2liq4n
>> 59y5d025z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycmd/../ycm_core.so, 2):
>> Library not loaded: @loader_path/libclang.dylib
>>   Referenced from: /nix/store/qih75i2liq4n59y5d02
>> 5z52bfvia81p3-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/qih75i2liq4n59y5d02
>> 5z52bfvia81p3-ycmd-2017-03-27/lib/ycmd/ycm_core.so
>>   Reason: image not found
>>
>>
>> Has anyone experienced a similar problem before?
>>
>> Thanks,
>>
>> Ben
>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170502/399368a7/attachment.html>


More information about the nix-dev mailing list