Linux Wallet openssl error

  1. jimbo
    New Member
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    March 11, 2018 at 01:28
    Hello,

    Debian9 with OpenSSL 1.1.0f.

    If you try to compiled :

    from src/txdb-leveldb.cpp:17:
    src/bignum.h:531:61: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’
    int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
    ^
    src/bignum.h: In member function ‘bool CBigNum::isOne() const’:
    src/bignum.h:539:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_one(const BIGNUM*)’
    return BN_is_one(this);
    ^
    src/bignum.h: In member function ‘bool CBigNum::operator!() const’:
    src/bignum.h:545:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
    return BN_is_zero(this);

    If you try to execute Bin file :

    /xtrabytes-qt-linux-1.3.0.0
    ./xtrabytes-qt-linux-1.3.0.0: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file

    Wallet doesn't support new ssl version !? Too bad
     
  2. NiklasM
    Administrator
    Messages:
    39
    Likes Received:
    25
    Trophy Points:
    8
    March 13, 2018 at 08:48
    Hi,


    The solution is to find which version of libssl you have running and then link that one to the required libssl.so.1.0.0

    If you post your current linux version here and libssl I can show you the command
     
  3. Supreme
    Administrator Staff Member
    Messages:
    102
    Likes Received:
    46
    Trophy Points:
    28
    March 13, 2018 at 08:58
    Hi.

    ln -s libssl.so.1.0.1f libssl.so.1.0.0

    This should fix your issue.
     
  4. jimbo
    New Member
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    March 13, 2018 at 09:32
    no because :
    /xtrabytes-qt-linux-1.3.0.0: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./xtrabytes-qt-linux-1.3.0.0)

    wallet required a old version of SSL
     
  5. jimbo
    New Member
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    March 14, 2018 at 06:03
    Debian9 with OpenSSL 1.1.0f.
     
  6. NiklasM
    Administrator
    Messages:
    39
    Likes Received:
    25
    Trophy Points:
    8
    March 19, 2018 at 12:57
    Are you compiling the headless version or the gui QT one?
     
  7. jimbo
    New Member
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    May 23, 2018 at 07:47
    compile QT version, error :

    from src/txdb-leveldb.cpp:17:
    src/bignum.h:531:61: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’
    int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
    ^
    src/bignum.h: In member function ‘bool CBigNum::isOne() const’:
    src/bignum.h:539:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_one(const BIGNUM*)’
    return BN_is_one(this);