You are not logged in.
Hello. I've recently upgraded to Viber 6 and whenever I try to launch it I get
yourself@danae ~ % viber
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
zsh: abort (core dumped) viber
Now this is eerily similar to an issue another user had: https://bbs.archlinux.org/viewtopic.php?id=203692. Turns out, my OpenGL installation is fine (everything else seems OK) and glxinfo reports lots of data on opengl.
Does anyone have any idea on what might be going on here?
Thanks!
Last edited by yourself (2016-05-27 14:27:08)
Offline
Is this related to the removal of OtQuick 1 from the Qt packages? Try searching the forum for QtQuick removal and see if that sheds any light on the issue.
Last edited by mrunion (2016-04-21 15:26:03)
Matt
"It is very difficult to educate the educated."
Offline
No, it doesn't seem to be qt5-quick1 related since the same happens whether I have qt5-quick1 installed or not. On my laptop, viber6 works whether qt5-quick1 is installed or not. I'm inclined to believe that something is botched with my Qt5 installation because of
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
Either that, or something with Qt and OpenGL....
Offline
Hi, I have a similar problem
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
[1] 11062 abort (core dumped) viber
Incompatible Qt library error seems occur because of libqsqlite.so, when I copy the one from /usr/lib/qt/plugins/sqldrivers I get different error.
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Qt WebEngine ICU data not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine ICU data not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /opt/viber/resources. Trying parent directory...
libpng warning: iCCP: known incorrect sRGB profile
qrc:/QML/Main.qml:25:9: Type ConversationScreen unavailable
qrc:/QML/ConversationScreen.qml:65:9: Type Feed unavailable
qrc:/QML/Feed/Feed.qml:106:9: Type InputArea unavailable
qrc:/QML/Feed/Input/InputArea.qml:231:25: Type StickerPopup unavailable
qrc:/QML/StickerMenu/StickerPopup.qml:23:9: Type StickerArea unavailable
qrc:/QML/StickerMenu/StickerArea.qml:11:5: Type StickerList unavailable
qrc:/QML/StickerMenu/StickerList.qml:121:46: Type Sticker unavailable
qrc:/QML/StickerMenu/Sticker.qml:31:29: Invalid property assignment: "sourceSize" is a read-only property
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
[1] 11239 abort (core dumped) viber
Offline
Well, maybe then the problem lies at the source of
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Unfortunately, information regarding QXcbIntegration is very scarce and I can't seem to move forward from here...
Does anyone have any ideas?
Offline
By the way, on my laptop (Thinkpad T420, full intel, open source drivers) everything works.
On my destop with an NVIDIA GTX 970 with closed source drivers, viber crashes. Maybe it's related?
Offline
Hey vladimirm, have you managed to solve your issue or does it still remain?
Offline
I have the same problem:
$ viber
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
Aborted (core dumped)
Any solution?
Offline
I have the same problem:
$ viber /opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber) QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled libpng warning: iCCP: known incorrect sRGB profile Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600) Aborted (core dumped)
Any solution?
Unfortunately, no. Still looking, though...
Offline
I just got rid of mistake "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"
by copying /usr/lib64/qt/plugins/xcbglintegrations/* to /opt/viber/plugins/xcbglintegrations/* (with backing up original files)
But Viber doesn't work either.
Last edited by ZeroLinux (2016-05-27 08:05:03)
Offline
Ok I've solved my problem. It seems that my LD_LIBRARY_PATH contains /usr/lib which causes mixed library issues since Viber ships with Qt 5.5.1 and we have Qt 5.6.0 on our systems. Therefore, just unsetting LD_LIBRARY_PATH before running viber does the trick. For a more elegant solution, modify /usr/bin/viber as follows:
#!/bin/sh
unset LD_LIBRARY_PATH
LD_PRELOAD=libcurl.so.3 exec /opt/viber/Viber
I have already posted this on the AUR page for Viber, maybe the maintainer will fix it for everybody.
If that fix works for everyone having my issue, I should mark the topic as solved.
Cheers
Last edited by yourself (2016-05-27 10:44:26)
Offline
Yes. It works perfectly! Mark as solved, please.
Offline
I have similar problem and unfortunately your solution doesn't work for me.
I have inserted the extra unset line to /usr/bin/viber file but no change in this message. Should there be a libcurl.so.3 file in the viber's directory at /opt/viber? Any idea?
$ /usr/bin/viber
/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/libQt5Core.so.5: undefined symbol: u_strToLower_48
Offline
Hello rebegin,
My solution works for the specific problem I described at my first post. Obviously, you have a different one.
The message about libcurl is normal, we all have it. Your problem is the
symbol lookup error: /opt/viber/libQt5Core.so.5: undefined symbol: u_strToLower_48
By the way, I do not have a file /opt/viber/libQt5Core.so.5... How is that located there?? It should be in /opt/viber/lib
Have you tried manually copying it there?
You should remove it.
In any case, please try (as root):
# pacman -R viber
# rm -r /opt/viber
# pacman -S viber
And see what happens
Offline
hey yourself,
somehow I didn't get any notification for your answer and since than I was missing viber on my desktop. Now I was searching for solution again and found your post here.
I don't want to necrobump this thread just posting here that the suggestion of yourself was working (removing /opt/viber folder and reinstalling). Thanks.
Offline