aeris / firewall-piercer

SOCKS5 over TLS (over HTTPS proxy) client/server stack, providing SOCKS5 and transparent proxy client side
GNU General Public License v3.0
28 stars 9 forks source link

running 'ruby client.rb' encounters error #1

Open luckypoem opened 3 years ago

luckypoem commented 3 years ago

hi. on my mac.

yudeMacBook-Air:firewall-piercer-by-aeris brite$ ruby client.rb dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init Referenced from: /usr/local/Cellar/ruby/2.6.3/lib/ruby/2.6.0/x86_64-darwin16/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

dyld: Symbol not found: _SSL_library_init Referenced from: /usr/local/Cellar/ruby/2.6.3/lib/ruby/2.6.0/x86_64-darwin16/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

Abort trap: 6 yudeMacBook-Air:firewall-piercer-by-aeris brite$

how to fix it?

aeris commented 3 years ago

Seems you have a trouble with your OpenSSL system library, not related to firewall-piercer. I see usage of 1.0.0 version which is very old. Ruby 2.6.3 is supposed to be linked to 1.1.x.

luckypoem commented 3 years ago

hi, but my openssl is already 1.1.x: yudeMacBook-Air:firewall-piercer-by-aeris brite$ Openssl version OpenSSL 1.1.1g 21 Apr 2020 yudeMacBook-Air:firewall-piercer-by-aeris brite$

then how to fix this headache?

aeris commented 3 years ago

Seems you have a 1.0.0 openssl under /usr/local/opt/openssl linked somewhere with your ruby setup and not using the system openssl 1.1 :thinking: I don't know at all Apple environment, so I can't help you on this trouble :confused: