Fresh Install Viber on leap15.1 = problem

fresh Leap15.1 ( desktop is XFCE )

  1. fresh viber.rpm
    (
    Version: 10.3.0.37
    Release 2
    Architecture x86_64
    )

me:/opt # rpm -ivh viber.rpm  --test
error: Failed dependencies:
    gstreamer1(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-bad-free(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-base(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-good(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-ugly-free(x86-64) is needed by viber-10.3.0.37-2.x86_64
    **libcrypto.so.10()(64bit)** is needed by viber-10.3.0.37-2.x86_64
   ** libssl.so.10()(64bit)** is needed by viber-10.3.0.37-2.x86_64
  1. libcrypt and libssl:
    [CODE
 # ls -la /usr/lib64/*ssl*
lrwxrwxrwx 1 root root     29 Dec 17 17:40 /usr/lib64/libevent_openssl-2.1.so.6 -> libevent_openssl-2.1.so.6.0.2
-rwxr-xr-x 1 root root  27376 Dec 17 17:40 /usr/lib64/libevent_openssl-2.1.so.6.0.2
lrwxrwxrwx 1 root root     13 Apr 28 11:38 /usr/lib64/libssl.so -> libssl.so.1.1
-rwxr-xr-x 1 root root 442648 Apr 28 11:39 /usr/lib64/libssl.so.1.1
-rwxr-xr-x 1 root root 348928 May  3 23:00 /usr/lib64/libssl3.so]
 # ls  -la /usr/lib64/*cry*
lrwxrwxrwx 1 root root      20 May  4 03:21 /usr/lib64/libcrypt.so -> /lib64/libcrypt.so.1
lrwxrwxrwx 1 root root      16 Apr 28 11:38 /usr/lib64/libcrypto.so -> libcrypto.so.1.1
-rwxr-xr-x 1 root root 2664208 Apr 28 11:39 /usr/lib64/libcrypto.so.1.1
lrwxrwxrwx 1 root root      19 Dec 17 16:49 /usr/lib64/libcrypto.so.43 -> libcrypto.so.43.0.1
-rwxr-xr-x 1 root root 1934176 Dec 17 16:49 /usr/lib64/libcrypto.so.43.0.1
lrwxrwxrwx 1 root root      23 Apr 28 02:36 /usr/lib64/libcryptsetup.so.12 -> libcryptsetup.so.12.3.0
-rwxr-xr-x 1 root root  337224 Apr 28 02:36 /usr/lib64/libcryptsetup.so.12.3.0
lrwxrwxrwx 1 root root      19 Apr  1 00:58 /usr/lib64/libcryptui.so.0 -> libcryptui.so.0.0.0
-rwxr-xr-x 1 root root   77896 Apr  1 00:58 /usr/lib64/libcryptui.so.0.0.0
lrwxrwxrwx 1 root root      19 Apr 28 01:03 /usr/lib64/libgcrypt.so.20 -> libgcrypt.so.20.2.2
-rwxr-xr-x 1 root root 1164832 Apr 28 01:03 /usr/lib64/libgcrypt.so.20.2.2
lrwxrwxrwx 1 root root      18 Feb 14 05:01 /usr/lib64/libk5crypto.so.3 -> libk5crypto.so.3.1
-rwxr-xr-x 1 root root  199576 Feb 14 05:01 /usr/lib64/libk5crypto.so.3.1
lrwxrwxrwx 1 root root      22 May  4 03:21 /usr/lib64/libowcrypt.so -> /lib64/libowcrypt.so.1

Problem: Can not found
libcrypto.so.10()(64bit)
and
libssl.so.10()(64bit)
in the /isr/lib64 directory.

Please, help me.
Serg

Select break viber. Since libs are there it should work probably a bad packageing

Hi.

Does`t work.
When Launch /opt/viber/Viber have error ( Viber screen):
“No connection
An internet connection is required to activate your Viber account. Check your connection and try again,”

in the terminal i see:

@myhome:~> /opt/viber/Viber 
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error



Where did you get the RPM I don’t find in anywhere in OpenSUSE searches. So it must be from a different distribution. Could be a version conflict also different destros may be at different versions or version numbers for various libraries.

This appears to be a proprietary program so you would have to go to the source to get things built for openSUSE

Was Resolved:

  1. download
http://widehat.opensuse.org/opensuse/update/leap/15.0/oss/rpms/x86_64/libopenssl1_0_0-1.0.2p-lp150.2.9.1.x86_64.rpm
  1. install this rpm:.

sudo rpm -ivh libopenssl1_0_0-1.0.2p-lp150.2.13.1.x86_64.rpm 
[sudo] password for root: 
Preparing...                          ################################# [100%]
Updating / installing...
   1:libopenssl1_0_0-1.0.2p-lp150.2.13################################# [100%]

> ls -la /usr/lib64/libcr*
lrwxrwxrwx 1 root root      17 Apr 27 22:41 /usr/lib64/libcrack.so.2 -> libcrack.so.2.9.0
-rwxr-xr-x 1 root root   39344 Apr 27 22:41 /usr/lib64/libcrack.so.2.9.0
lrwxrwxrwx 1 root root      21 Mar 15 14:57 /usr/lib64/libcroco-0.6.so.3 -> libcroco-0.6.so.3.0.1
-rwxr-xr-x 1 root root  244368 Mar 15 14:57 /usr/lib64/libcroco-0.6.so.3.0.1
-r-xr-xr-x 1 root root 2520424 Mar 25 13:08 /usr/lib64/libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 2664208 Apr 28 11:39 /usr/lib64/libcrypto.so.1.1
lrwxrwxrwx 1 root root      23 Apr 28 02:36 /usr/lib64/libcryptsetup.so.12 -> libcryptsetup.so.12.3.0
-rwxr-xr-x 1 root root  337224 Apr 28 02:36 /usr/lib64/libcryptsetup.so.12.3.0
lrwxrwxrwx 1 root root      19 Apr  1 00:58 /usr/lib64/libcryptui.so.0 -> libcryptui.so.0.0.0
-rwxr-xr-x 1 root root   77896 Apr  1 00:58 /usr/lib64/libcryptui.so.0.0.0

> ls -la /usr/lib64/libssl*
-rwxr-xr-x 1 root root 348928 May  3 23:00 /usr/lib64/libssl3.so
-r-xr-xr-x 1 root root 453912 Mar 25 13:08 /usr/lib64/libssl.so.1.0.0
-rwxr-xr-x 1 root root 442648 Apr 28 11:39 /usr/lib64/libssl.so.1.1


  1. Create links:

> sudo ln -s /usr/lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.10
 sudo ln -s /usr/lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.10

  1. install viber
    this was without nodeps :slight_smile:
sudo rpm -ivh viber.rpm 
error: Failed dependencies:
    gstreamer1(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-bad-free(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-base(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-good(x86-64) is needed by viber-10.3.0.37-2.x86_64
    gstreamer1-plugins-ugly-free(x86-64) is needed by viber-10.3.0.37-2.x86_64
    libcrypto.so.10()(64bit) is needed by viber-10.3.0.37-2.x86_64
    libssl.so.10()(64bit) is needed by viber-10.3.0.37-2.x86_64

And with -nodeps. it`s OK.

sudo rpm -ivh viber.rpm  --nodeps
Preparing...                          ################################# [100%]
Updating / installing...
   1:viber-10.3.0.37-2                ################################# [100%]

After this - OK

Thank you for your solution that you provided for these libssl and libcrypto libraries. For my 15.1 it was the best to install them through the Yast using native repos. I still can’t remember how I solved this issue half a year ago when I was sitting on 15.0.

Have you tried to play videos inside a Viber? It looks like it needs those gstreamer1 libraries anyway. Just can’t remember if those were needed in 15.0 to install the Viber, but videos were played well in there.

Thank you!