Manjaro KDE Edition
   897

viber

Добрый день, не вышло установить вайбер из аура, пишет-ошибка, нет пакета для архитектуры 86_64… Не подскажите что можно сделать, что бы установить вайбер?

2 комментария

avatar
Спойлер!
yaourt -S viber           

==> Загрузка PKGBUILD viber из AUR...
x .SRCINFO
x PKGBUILD
x eula.html
x viber
Tido.com commented on 2016-06-08 15:44                   
In my environment LD_LIBRARY_PATH is not set

If i try to run viber (/usr/bin/viber with LD_PRELOAD) i get:

/opt/viber/Viber: error while loading shared libraries: libicui18n.so.48: cannot open shared object file: No such file or directory

i can "fix" that by running viber with an LD_LIBRARY_PATH as such:

$ LD_LIBRARY_PATH=/opt/viber viber

i get a bit further but crash and burn with this:

/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
/opt/viber/Viber: symbol lookup error: /opt/viber/lib/libQt5WebEngineCore.so.5: undefined symbol: _Z26qt_gl_global_share_contextv

which is _stupid_ because one would hope that the library included in the .deb would actually have the symbols required by Viber :(

Tido.com commented on 2016-06-08 16:08                   
So i dug into all the libraries and qt5 stuff required to get it to run without the prepackaged environment

I recursively removed imageformats, lib, *.so* platforms plugins qml QtWebEngineProcess sqldrivers (exceptions noted below)

linkParser i have no idea about - i tried both with and without it in /usr/lib/qt/libexec

And it _almost_ works - i can get it to the point of starting and giving me the "Security update" popup - but it never generates the QR code

It does put my phone into "Scan QR Code" but since there isn't any QR Code displayed it just stays that way until i kill it and restart it on the phone or get an incoming message (great design)
(even over my lock screen... but in that case after unlocking viber is as i left it)

Since there isn't any QR Code it just drops to the app and allows me to send messages to my contacts - but it doesn't show any history or anything that my contacts write back (or even what i type) but what i type is displayed in the left-hand pane under the contact name (but not what they respond with) other menus etc. work as expected

It even exits properly with right-click - Exit from the tray icon

i had to leave libqfacebook.so because apparently nothing provides that

i also had to move the packaged libqrencode.so to /opt/viber to avoid it crashing with this error with the system qrencode (3.4.4-1):
./Viber: symbol lookup error: ./Viber: undefined symbol: _ZN6QrCode12encodeStringERKSsRiRSt6vectorIbSaIbEE

Tido.com commented on 2016-06-09 08:15                   
And the other piece of magic required to replicate what i did is changing qt.conf to this:

[Paths]
Prefix = /usr/lib/qt

k0ste commented on 2016-07-01 12:21                      
Please add 'rtmpdump' to dependencies.

orsa commented on 2016-07-28 14:49                       
Hi All,

I installed viber 10 days ago and it worked fine since last two days.

When I try to start it I get following messages:

---
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
*** buffer overflow detected ***: /opt/viber/Viber terminated
...
7f4c5c110000-7f4c5c114000 rw-p 00083000 08:01 5956                       /opt/viber/plugins/imageformats/libqjp2.soAborted (core dumped)
---

I've tried all suggestions I found here, but nothing helped.
Then I discovered if I run it with sudo it works.

---
sudo viber
[sudo] password for xxx: 
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
---

I still see the very same errors reported but it works. 

Do you have any idea what could I try to make it work without sudo?

thx...

viber 6.0.1.5-2  (2016-04-27 11:19)
( Неподдерживаемый пакет: Потенциально опасен ! )
==> Отредактировать PKGBUILD ? Да/нет [Y/n] ("A" для отмены)
==> --------------------------------------------------------
==> 
  
Последний раз редактировалось
?
Всё возможно, пока не сделан выбор !
0
avatar
А ты ничего не путаешь? Скорее, в ошибке указано, что нет пакета x86. И так и есть. Viber для 32-битных систем не существует (и, скорее всего, его и не будет). Так разработчик программы решил. Архитектура свое отживает уже.
0
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.