Can't run BitBay Client: OpenSSL error


#1

The problem I am having is …

atherz-archlinux/BitBay $ ./BitBay.sh 
(On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use:
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__Halo__.py", line 118, in <module>
  File "SoCryptoOMGBlackCoinBlack.py", line 1, in <module>
  File "pyelliptic/__init__.py", line 16, in <module>
  File "pyelliptic/openssl.py", line 450, in <module>
  File "pyelliptic/openssl.py", line 141, in __init__
  File "ctypes/__init__.py", line 378, in __getattr__
  File "ctypes/__init__.py", line 383, in __getitem__
AttributeError: /usr/lib/libssl.so.1.1: undefined symbol: ECDH_OpenSSL

My openSSL library is installed – version 1.1.0. My fear is that BitBay wants to use an older version of OpenSSL.

Is there a way to get this to run? I’ve been getting the same error since last September and have been waiting for all sorts of new versions to try and fix this.

Marketplace Client 1.3 on Manjaro/Arch Linux


#2

Hi, thank you for your interest in Bitbay! The last Client version is 1.3.1. Regarding the OpenSSL library, I asked the dev team to look into it and will get back to you asap but maybe in the meantime try to reinstall your OpenSSL library?


#3

Your instincts are correct. They broke something with the new libraries. It might require some clever linking or downgrading.


#4

Well downgrading is likely to break a bunch of other programs, and removing the libssl library from the local download gives me a different error:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "hashlib.py", line 139, in <module>
  File "hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__Halo__.py", line 113, in <module>
  File "MuchDogeSoMoonManySatoshiBlack.py", line 2, in <module>
  File "MuchDogeSoMoonManySatoshiBlack.py", line 3, in SHA256
AttributeError: 'module' object has no attribute 'sha256'

This suggests that the libssl on my system allows the program to work, however another library is broken. Removing the _hashlib.so library doesn’t fix this error.

Also about the symlink, I replaced the local library with the older version, and that also gives the same error as above.


#5

Is libssl.so packaged with the Bitbay files? If so try setting ld_library_path to your install directory so it might find it.


#6
atherz-archlinux/BitBay $ export LD_LIBRARY_PATH=/home/atherz/Downloads/BitBay
atherz-archlinux/BitBay $ ./BitBay.sh 
(On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use: [...]

Maybe you’re right though, it’ll take some looking into. Looking forward to the web marketplace!