alexherbo2 / kakoune.cr

A command-line tool for Kakoune
https://kakoune.org
The Unlicense
54 stars 11 forks source link

Missing dependency on MacOS: libpcre for nightly download #27

Open mogenson opened 3 years ago

mogenson commented 3 years ago

Trying out the pre-compiled nightly release from commit d7f3dd5. Looks like kcr expects a Perl regular expressions library in /usr/local/opt. I believe this path is created by homebrew, but I don't have brew installed.

Is is possible to statically link this library, or specify it as a dependency in the Installation section of the README and let us set the DYLD_LIBRARY_PATH environmental variable to point to libpcre?

~/Downloads/kakoune.cr-nightly-x86_64-apple-darwin
❯ ./bin/kcr
dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
  Referenced from: /Users/mike/Downloads/kakoune.cr-nightly-x86_64-apple-darwin/./bin/kcr
  Reason: image not found
Abort trap: 6
franco commented 3 years ago

Same problem here. @mogenson could you find a solution for this?

jaredramirez commented 3 years ago

Also hitting this, is there any solution @alexherbo2?