terhechte / SourceKittenDaemon

Swift Auto Completions for any Text Editor
MIT License
529 stars 37 forks source link

Copy dynamic libraries #68

Closed tasuwo closed 7 years ago

tasuwo commented 7 years ago

I cloned this repository and run make install to install sourcekittendaemon. However, after that, the following error occured when I tried to run sourcekittendaemon.

$ sourcekittendaemon help
dyld: Library not loaded: /usr/local/lib/libCYaml.dylib
  Referenced from: /usr/local/bin/sourcekittendaemon
  Reason: image not found
[1]    96863 abort      sourcekittendaemon help

This error seems like be similar with the problem which is reported in following issue.

Release 0.1.6 from SourceKittenDaemon.pkg is incorrectly linked · Issue #60 · terhechte/SourceKittenDaemon

When I used the makefile which is attached to this comment, no errors occurred.

Dynamic library references has been fixed already and merged. But it seems like to lacked processes for copying libraries. So, in my environment, there are no dynamic libraries (libCYaml and libCLibreSSL) at /usr/local/lib after install, and failed to run sourcekittendaemon.

I fixed this.

nathankot commented 7 years ago

Thanks @tasuwo!