spider-gazelle / ssh2.cr

libssh2 binding for Crystal language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What packages do I need to install on macOS to use the latest version?

vitobotta opened this issue · comments

Hola, just upgraded to the latest. On macOS I get the following with a compiled version of my binary:

yld[86999]: Library not loaded: /usr/local/opt/libssh2/lib/libssh2.1.dylib
  Referenced from: <5884BFAE-2694-3312-AA8E-67179B9CC000> /Users/vito/Downloads/hetzner-k3s-macos-arm64
  Reason: tried: '/opt/homebrew/opt/openssl@1.1/lib/libssh2.1.dylib' (no such file), '/usr/local/opt/libssh2/lib/libssh2.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libssh2/lib/libssh2.1.dylib' (no such file), '/usr/local/opt/libssh2/lib/libssh2.1.dylib' (no such file), '/usr/local/lib/libssh2.1.dylib' (no such file), '/usr/lib/libssh2.1.dylib' (no such file, not in dyld cache)

What can I do? Thanks!