firewall-piercer icon indicating copy to clipboard operation
firewall-piercer copied to clipboard

running 'ruby client.rb' encounters error

Open luckypoem opened this issue 5 years ago • 3 comments

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?

luckypoem avatar Sep 12 '20 04:09 luckypoem

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.

aeris avatar Sep 12 '20 12:09 aeris

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?

luckypoem avatar Sep 12 '20 14:09 luckypoem

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:

aeris avatar Sep 13 '20 18:09 aeris