veeso / termscp

🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB
https://termscp.veeso.dev
MIT License
1.55k stars 46 forks source link

[BUG] - prebuilt binary cannot run under macos 11 #119

Closed kaala closed 2 years ago

kaala commented 2 years ago

Description

I downloaded the prebuilt binary from releases page, and got below error when execute it.

dyld: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
  Referenced from: /Users/mac/Desktop/./termscp
  Reason: image not found
Abort trap: 6

Steps to reproduce

curl -LO https://github.com/veeso/termscp/releases/download/v0.9.0/termscp-v0.9.0-x86_64-apple-darwin.tar.gz
tar -xf termscp-v0.9.0-x86_64-apple-darwin.tar.gz
./termscp

Expected behaviour

application run success

Environment

veeso commented 2 years ago

Hi,

is openssl installed on your current system via brew?

brew install openssl@1.1
kaala commented 2 years ago

I don't use homebrew, is it possible to static link openssl library or use system openssl ?

veeso commented 2 years ago

From now on the termscp libssl build will be static.

You can retry downloading again the package.

kaala commented 2 years ago

Thank you, it works.