vircadia-builder icon indicating copy to clipboard operation
vircadia-builder copied to clipboard

libQt5WebEngineCore.so.5.15.2 not found the error.

Open sumeru-digital opened this issue 3 years ago • 3 comments

Hi, I am trying to run this make interface command and get the libQt5WebEngineCore.so.5.15.2 not found the error. Not sure what is the issue. Tried several things. The Vircadia build is in the root and at this location /vircadia/build and using Ubuntu 18.04 Using root to run this and stuck at this. Please help. thanks.

[ 86%] Built target interface_autogen [ 86%] Linking CXX executable interface /usr/bin/ld: warning: libevent-2.1.so.6, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libwebpmux.so.3, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libwebpdemux.so.2, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libwebp.so.6, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libXss.so.1, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsnappy.so.1, needed by /root/vircadia-files/qt/qt5-install/lib/libQt5WebEngineCore.so.5.15.2, not found (try using -rpath or -rpath-link) /usr/bin/ld: interface: hidden symbol `event_base_new' in /root/vircadia-files/vcpkg/fb3a0d76/installed/x64-linux/lib/libwebrtc.a(event.o) is referenced by DSO /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status interface/CMakeFiles/interface.dir/build.make:5126: recipe for target 'interface/interface' failed make[3]: *** [interface/interface] Error 1 CMakeFiles/Makefile2:6044: recipe for target 'interface/CMakeFiles/interface.dir/all' failed make[2]: *** [interface/CMakeFiles/interface.dir/all] Error 2 CMakeFiles/Makefile2:6056: recipe for target 'interface/CMakeFiles/interface.dir/rule' failed make[1]: *** [interface/CMakeFiles/interface.dir/rule] Error 2 Makefile:1694: recipe for target 'interface' failed make: *** [interface] Error 2 root@localhost:/vircadia/build#

sumeru-digital avatar May 13 '22 15:05 sumeru-digital

It is not not finding libQt5WebEngineCore.so.5.15.2, it is not finding libevent-2.1.so.6, libwebpmux.so.3, libwebpdemux.so.2, libwebp.so.6, libXss.so.1, and libsnappy.so.1. These libraries should have been installed by vircadia-builder. What command are you starting vircadia-builder with? And are you actually using Ubuntu 18.04, or are you using another distribution with the Ubuntu 18.04 package base?

JulianGro avatar May 14 '22 05:05 JulianGro

thanks so much Julian for your time. #1 I am using step by step command from here https://github.com/vircadia/vircadia/blob/master/BUILD_LINUX.md and failing at make interface command #2 I am using DISTRIB_RELEASE=18.04 and debian 10 (buster)

root@localhost:/vircadia/build# cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS" NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic

root@localhost:/vircadia/build# cat /etc/debian_version buster/sid

sumeru-digital avatar May 14 '22 17:05 sumeru-digital

I am using step by step command from here https://github.com/vircadia/vircadia/blob/master/BUILD_LINUX.md and failing at make interface command

This is an issue with the build instructions. vircadia-builder has nothing to do with this. vircadia-builder is a build script that is supposed to do a lot of this automatically. It should also work on Debian Buster. Also keep in mind that you only need to compile Interface yourself to test development code. There is AppImages available for download.

#2 I am using DISTRIB_RELEASE=18.04 and debian 10 (buster)

root@localhost:/vircadia/build# cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS" NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic

root@localhost:/vircadia/build# cat /etc/debian_version buster/sid

It identifies itself as Ubuntu 18.04. If you don't know more than I do, this isn't Debian 10, but Ubuntu 18.04.

JulianGro avatar May 14 '22 18:05 JulianGro