![]() ![]() You can try using strace to help see what's going on behind the scene (trace system calls and signals) in its attempt of loading shared library like following. ![]() I faced the similar problem but with another application vkreplay as part of Vulkan. In fact, another interesting thing here is that, I have built VirtualBox-5.2.8 entirely using Clang/Clang++/LLVM on Ubuntu 17.10 x86_64 after substantial effort - for FreeBSD, there's already a port for building VirtualBox using clang but for Linux, it's heavily dependent on GCC as I saw and hence it took a lot of effort to get to this point to be able successfully build VirtualBox-5.2.8 from its source using Clang/Clang++/LLVM on Ubuntu 17.10 x86_64 for target Linux/AMD64( Ubuntu 17.10 x86_64) and successfully launch it after resolving other issues along with this notorious libqxcb.so one. Thus, VirtualBox-5.2.8 built from source on Linux( Ubuntu 17.10 x86_64) using Clang/LLVM, finally launched successfully! ".Qt5.10.1/Tools/QtCreator/lib/Qt/plugins/platforms/" onto the searched path which is ".VirtualBox-5.2.8/out/linux.amd64/release/bin/". That was my hitting-the-nail-on-its-head moment, and I created the symlink from the installed Qt5.10.1's platforms directory mentioned below : Reinstalling the application may fix this problem.) = 154 Write(2, "This application failed to start"., 154This application failed to start because it could not find or load the Qt platform plugin "xcb" out/linux.amd64/release/bin/VirtualBoxĪccess("./VirtualBox-5.2.8/out/linux.amd64/release/bin/platforms/.", F_OK) = -1 ENOENT (No such file or directory) Running strace on the the VirtualBox binary I built using Clang/LLVM on Ubuntu 17.10 x86_64. And also setting QT_DEBUG_PLUGINS=1 didn't produce any extra logs either. So, none of the ldd checks, and other solutions worked. ".VirtualBox-5.2.8/out/linux.amd64/release/bin/platforms/"Īnd not in the default library paths, Qt installation path, etc. In my case, since I was building VirtualBox-5.2.8 from its source, it was searching for libqxcb.so in the below location : So I then googled the version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)) error and found the solution to that, which solved the problem.įor those who are still stuck after trying every other option out there in the internet, you can look into exact path from which this notorious libqxcb.so is being searched in, for opening/loading by the Qt App( VirtualBox-5.2.8 is the Qt app in my case), using the strace tool. Reinstalling the application may fix this problem. This application failed to start because it could not find or load the Qt platform plugin "xcb". QLibraryPrivate::loadPlugin failed on "/opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so" : "Cannot load library /opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so: (/opt/PostgreSQL/9.6/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16))" ![]() Loaded library "/opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so" My output after turning on QT_DEBUG_PLUGINS was: QFactoryLoader::QFactoryLoader() checking directory path "/opt/PostgreSQL/9.6/pgAdmin 4/bin/platforms". Read the actual error message thrown by QT, since none of the above solutions addressed the cause of this error in my case. To any future readers who come across this - before you start (dangerously) messing around with symlinks to shared libraries, I strongly suggest that you runĪnd then run your failing executable again in the Terminal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |