Error when install Viber

Fresh Network Installation Leap42.1 ( Laptop ).
zypper up.
Download form the http://www.viber.com/en/products/linux viber ( x64, rpm)
Problem when install Viber on my Laptop.
Please, Help me

This is error:

#### YaST2 conflicts list - generated 2016-04-22 20:51:22 ####

nothing provides libcrypto.so.10()(64bit) needed by viber-6.0.1.5-2.x86_64

     ] do not install viber-6.0.1.5-2.x86_64

     ] break viber-6.0.1.5-2.x86_64 by ignoring some of its dependencies




#### YaST2 conflicts list END ###


Serg

First, I had no idea Viber was available for Linux desktopyet. Thanks for making me aware of this! :slight_smile:

Anyway, I get the same as you, but you can create the necessary softlinks…

https://forums.opensuse.org/showthread.php/445451-libcrypto-so-10?p=2215864#post2215864

It will still complain about the ‘missing’ dependency but choose ‘break viber-6.0.1.5-2.x86_64 by ignoring some of its dependencies’ and proceed with the installation.

I’ve just installed it and it launches ok (you will need a valid mobile phone number to register against), but I have not yet tested further.

After modify URI i can add:

linux-dazx:/home/ksr # zypper ar -f http://download.opensuse.org/repositories/Kernel:/vanilla/standard/ kernel:vanilla
Adding repository 'kernel:vanilla' ....................................................................................[done]
Repository 'kernel:vanilla' successfully added
Enabled     : Yes                                                                
Autorefresh : Yes                                                                
GPG Check   : Yes                                                                
Priority    : 99                                                                 
URI         : http://download.opensuse.org/repositories/Kernel:/vanilla/standard/

linux-dazx:/home/ksr # zypper ref
Repository 'Packman Repository' is up to date.                                                                               
Repository 'google-chrome' is up to date.                                                                                    
Retrieving repository 'kernel:vanilla' metadata --------------------------------------------------------------------------|]

New repository or package signing key received:

  Repository:       kernel:vanilla                                
  Key Name:         Kernel OBS Project <Kernel@build.opensuse.org>
  Key Fingerprint:  4529410A B52F94C4 03BAB484 ECEEF210 03579C1D  
  Key Created:      Wed Apr 22 15:25:51 2015                      
  Key Expires:      Fri Jun 30 15:25:51 2017                      
  Rpm Name:         gpg-pubkey-03579c1d-5537934f                  


Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): t
Retrieving repository 'kernel:vanilla' metadata .......................................................................[done]
Building repository 'kernel:vanilla' cache ............................................................................[done]
Repository 'openSUSE-42.1-0' is up to date.                                                                                  
Repository 'openSUSE-Leap-42.1-Update' is up to date.                                                                        
Repository 'openSUSE-Leap-42.1-Update-Non-Oss' is up to date.                                                                
All repositories have been refreshed.



Hi
I’ve made just like you wrote:

suse-pc:/ # ls -l /lib64 | grep libcrypto
lrwxrwxrwx 1 root root      25 апр 23 12:37 libcrypto.so.10 -> /lib64/libcrypto.so.1.0.0
-r-xr-xr-x 1 root root 2004544 мар  1 20:09 libcrypto.so.1.0.0
suse-pc:/ # ls -l /lib | grep libcrypto
lrwxrwxrwx  1 root root      23 апр 23 12:30 libcrypto.so.10 -> /lib/libcrypto.so.1.0.0
-r-xr-xr-x  1 root root 1804472 мар  1 20:10 libcrypto.so.1.0.0
suse-pc:/ # ls -l /lib64 | grep libssl
lrwxrwxrwx 1 root root      22 апр 23 12:37 libssl.so.10 -> /lib64/libssl.so.1.0.0
-r-xr-xr-x 1 root root  424120 мар  1 20:09 libssl.so.1.0.0
suse-pc:/ # ls -l /lib | grep libssl
lrwxrwxrwx  1 root root      20 апр 23 12:30 libssl.so.10 -> /lib/libssl.so.1.0.0
-r-xr-xr-x  1 root root  395472 мар  1 20:10 libssl.so.1.0.0

and install viber with “breaking”
But when trying to execute it returns error:

# /opt/viber/Viber 
/opt/viber/Viber: /usr/lib64/libcurl.so.4: no version information available (required by /opt/viber/Viber)
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, wayland-egl, wayland, xcb.

Reinstalling the application may fix this problem

If trying to launch viber with icon it just changes mouse cursor for a while and nothing else happens.
How to fix it?

Additional information:

# uname -a
Linux suse-pc 3.12.53-40-desktop #1 SMP PREEMPT Thu Feb 25 06:26:23 UTC 2016 (b2ce64e) x86_64 x86_64 x86_64 GNU/Linux

Perhaps you’re missing libcurl4? Install it with

zypper in libcurl4

https://software.opensuse.org/package/libcurl4

Nope, I have newest version: libcurl4-7.42.1-2.53.2.x86_64

Hmmm…which DE are you using? I’m using KDE Plasma 5 and I’m not getting the ‘xcb’ error. You appear to be missing the required plugin in /opt/viber/plugins/platforms/

Check library dependencies listed with

ldd /opt/viber/Viber

For reference, libQt5Gui5 (Qt 5 libraries which are depending on X11) supplies this plugin

rpm -qf /usr/lib64/qt5/plugins/platforms/libqxcb.so 
libQt5Gui5-5.5.1-10.1.x86_64

I’m using KDE 4.11.5

# ls /opt/viber/plugins/platforms/
libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so  libqoffscreen.so  libqwayland-egl.so  libqwayland-generic.so  libqxcb.so
# ldd /opt/viber/Viber
/opt/viber/Viber: /usr/lib64/libcurl.so.4: no version information available (required by /opt/viber/Viber)                                                   
        linux-vdso.so.1 (0x00007ffecf5ab000)                                                                                                                 
        libXss.so.1 => /usr/lib64/libXss.so.1 (0x00007fa969a77000)                                                                                           
        libqfacebook.so => /opt/viber/lib/libqfacebook.so (0x00007fa969860000)                                                                               
        libqrencode.so => /opt/viber/lib/libqrencode.so (0x00007fa96964f000)                                                                                 
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa96943d000)                                                                                         
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa9690ff000)                                                                                           
        libz.so.1 => /lib64/libz.so.1 (0x00007fa968ee9000)                                                                                                   
        libQt5WebEngineWidgets.so.5 => /opt/viber/lib/libQt5WebEngineWidgets.so.5 (0x00007fa969e42000)                                                       
        libQt5Sql.so.5 => /opt/viber/lib/libQt5Sql.so.5 (0x00007fa969e01000)                                                                                 
        libQt5QuickWidgets.so.5 => /opt/viber/lib/libQt5QuickWidgets.so.5 (0x00007fa969def000)                                                               
        libQt5WebSockets.so.5 => /opt/viber/lib/libQt5WebSockets.so.5 (0x00007fa969dc7000)                                                                   
        libQt5WebEngineCore.so.5 => /opt/viber/lib/libQt5WebEngineCore.so.5 (0x00007fa964c7e000)                                                             
        libQt5DBus.so.5 => /opt/viber/lib/libQt5DBus.so.5 (0x00007fa969d45000)                                                                               
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fa964a7a000)                                                                                                 
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa96485c000)                                                                                       
        librt.so.1 => /lib64/librt.so.1 (0x00007fa964654000)                                                                                                 
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007fa964451000)                                                                             
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fa96424e000)                                                                                   
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fa964048000)                                                                                     
        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fa963dd7000)                                                                                         
        libQt5Widgets.so.5 => /opt/viber/lib/libQt5Widgets.so.5 (0x00007fa963754000)                                                                         
        libQt5Multimedia.so.5 => /opt/viber/lib/libQt5Multimedia.so.5 (0x00007fa96366d000)                                                                   
        libQt5Quick.so.5 => /opt/viber/lib/libQt5Quick.so.5 (0x00007fa96328e000)                                                                             
        libQt5Gui.so.5 => /opt/viber/lib/libQt5Gui.so.5 (0x00007fa962d19000)                                                                                 
        libQt5Qml.so.5 => /opt/viber/lib/libQt5Qml.so.5 (0x00007fa9628e0000)                                                                                 
        libQt5Network.so.5 => /opt/viber/lib/libQt5Network.so.5 (0x00007fa962786000)                                                                         
        libQt5Core.so.5 => /opt/viber/lib/libQt5Core.so.5 (0x00007fa96221c000)                                                                               
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa961f14000)                                                                                     
        libm.so.6 => /lib64/libm.so.6 (0x00007fa961c11000)                                                                                                   
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa9619fa000)                                                                                           
        libc.so.6 => /lib64/libc.so.6 (0x00007fa96164c000)                                                                                                   
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa96142c000)                                                                                           
        libQt5WebEngine.so.5 => /opt/viber/lib/libQt5WebEngine.so.5 (0x00007fa969cfe000)                                                                     
        libQt5WebChannel.so.5 => /opt/viber/lib/libQt5WebChannel.so.5 (0x00007fa969cdf000)                                                                   
        libQt5Positioning.so.5 => /opt/viber/lib/libQt5Positioning.so.5 (0x00007fa969ca0000)                                                                 
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fa961129000)                                                                                 
        libnss3.so => /usr/lib64/libnss3.so (0x00007fa960e07000)                                                                                             
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fa960bda000)                                                                                     
        libsmime3.so => /usr/lib64/libsmime3.so (0x00007fa9609b2000)                                                                                         
        libplc4.so => /usr/lib64/libplc4.so (0x00007fa9607ad000)                                                                                             
        libnspr4.so => /usr/lib64/libnspr4.so (0x00007fa96056e000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fa960331000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fa96009f000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007fa95fe4c000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fa95fc3c000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fa95fa31000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fa95f827000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007fa95f545000)
        libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007fa95f33f000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fa95f135000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fa95ef0b000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fa95ecc4000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007fa95eabe000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fa969c7b000)
        libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007fa95e88a000)
        libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007fa95e65f000)
        libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007fa95e3f7000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007fa95e00a000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007fa95ddc1000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fa95dbb2000)
        libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fa95d966000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fa95d714000)
        libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007fa95d4c8000)
        libpng12.so.0 => /opt/viber/lib/libpng12.so.0 (0x00007fa95d29f000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fa95d040000)
        libicui18n.so.52 => /opt/viber/lib/libicui18n.so.52 (0x00007fa95cbee000)
        libicuuc.so.52 => /opt/viber/lib/libicuuc.so.52 (0x00007fa95c858000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa95c653000)
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fa95c3e6000)
        libplds4.so => /usr/lib64/libplds4.so (0x00007fa95c1e1000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fa95bfa4000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007fa95bd87000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007fa95bab8000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007fa95b884000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fa95b680000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007fa95b473000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa95b25b000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fa95b03e000)
        libffi.so.4 => /usr/lib64/libffi.so.4 (0x00007fa95ae36000)
        libjson.so.0 => /usr/lib64/libjson.so.0 (0x00007fa95ac2b000)
        libpulsecommon-4.0.so => /usr/lib64/pulseaudio/libpulsecommon-4.0.so (0x00007fa95a9bc000)
        libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007fa95a796000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fa95a593000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007fa95a37b000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007fa95a176000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007fa959f6f000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007fa959d63000)
        libicudata.so.52 => /opt/viber/lib/libicudata.so.52 (0x00007fa9584f4000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fa9582f0000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa9580cc000)
        libwrap.so.0 => /lib64/libwrap.so.0 (0x00007fa957ec0000)
        libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007fa957c55000)
        libFLAC.so.8 => /usr/lib64/libFLAC.so.8 (0x00007fa957a15000)
        libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007fa957546000)
        libspeex.so.1 => /usr/lib64/libspeex.so.1 (0x00007fa95732d000)
        libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007fa957125000)
        libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007fa956ef7000)

Command rpm -qf /usr/lib64/qt5/plugins/platforms/libqxcb.so returns error “no such file”. How to fix it?

I’m not sure how this might affect things, except that I’m using a later KDE version and openSUSE Leap, and not experiencing the error you’re getting.

# ls /opt/viber/plugins/platforms/
libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so  libqoffscreen.so  libqwayland-egl.so  libqwayland-generic.so  libqxcb.so

Okay, well the plugin seems to be there, and Viber ships with its own Qt5 libraries, so it’s not clear to me what the precise problem is. Hopefully, someone else can chime in here.

Command rpm -qf /usr/lib64/qt5/plugins/platforms/libqxcb.so returns error “no such file”. How to fix it?

Not sure that this is relevant now. All I know is that I do have ‘libQt5Gui5’ package installed (but I’m running a later KDE version).

You might try obtaining support from Viber
http://www.viber.com/en/about
http://support.viber.com/


mkdir -p src/lib64
ln -s /lib64/libcrypto.so.1.0.0 src/lib64/libcrypto.so.10
ln -s /lib64/libssl.so.1.0.0 src/lib64/libssl.so.10
fpm -C src -s dir -t rpm -n libopenssl1_0_0rhcompat \
    --version=1.0.0 --iteration=1 \
    --depends libopenssl1_0_0  \
    --architecture x64 \
    --provides "libcrypto.so.10()(64bit)"  --provides "libssl.so.10()(64bit)"  \
    --verbose

Will do the trick. It produces rpm that provides compatible setting so you dont have to break anything.

They say it’s only for debian:




  - **Linux:**
[LIST]
  - 64-bit distributions only 
  - [FONT=arial]Debian distributions only [/FONT] 


       
[/LIST]

:frowning:

kirichenko, “fpm: command not found” even thru “cnf fpm”. Google search returns only “php-fpm”. Is it what I need?

I wouldn’t worry about that too much… oherwise they wouldn’t have built an RPM package. Consider upgrading to Leap (KDE) and see if that changes things for you.

BTW, I can’t install today’s updates with Apper. It says:

libyui-qt-pkg5-2.42.13-2.4.1.x86_64 requires libzypp.so.1306()(64bit), but this requirement cannot be provided
libyui-ncurses-pkg5-2.44.4-2.1.5.x86_64 requires libzypp.so.1306()(64bit), but this requirement cannot be provided

Could it be related problems?

I’ve upgraded system from 13.1 to 13.2 and everything is fine now. Problem solved :slight_smile:
Thanks for helping

Good to know. :slight_smile: