Failed dependencies during qt5-base installation

Installing HAAst, prerequisites, getting HAAst started, and troubleshooting performance and technical issues. As well, upgrades to HAAst and any underlying software.
Post Reply
brunomascitti
Posts: 4
Joined: Sat Sep 15, 2018 10:20 pm

Failed dependencies during qt5-base installation

Post by brunomascitti » Sat Sep 15, 2018 10:40 pm

I want to install the HAAst on my AsteriskNOW FreePBX environment at home. I'm reading the pdf about the detailed installation and I stopped in the page about "Install prerequisite packages". But I cannot install the packages qt5-qtbase package and qt5-qtbase-mysql because the OS needs of the library's below:

[root@ASTERISK01 ~]# ldd /usr/local/haast/haast
linux-vdso.so.1 => (0x00007ffdb1de7000)
libQt5Network.so.5 => not found
libQt5Xml.so.5 => not found
libQt5Sql.so.5 => not found
libQt5Core.so.5 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5a45a86000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f5a45780000)
libm.so.6 => /lib64/libm.so.6 (0x00007f5a454fc000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5a452e5000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5a44f51000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5a45cb1000)

How can I install the libraries above? I tried the command "yum install glibc" and the OS doesn't find anything relationed.

Thanks very much.
User avatar
Telium Support
Posts: 180
Joined: Sun Nov 27, 2016 3:27 pm

Re: Failed dependencies during qt5-base installation

Post by Telium Support » Sun Sep 16, 2018 12:56 am

From your ldd output it appears that you are missing the Qt5 package(s). It's not clear why you cannot install the packages qt5-qtbase and qt5-qtbase-mysql packages. The ldd output you posted just says qt5 packages are missing.

I have a feeling there is something else you are not telling. Why are you talking about glibc? (The libc.so is installed and running fine according to that ldd output).

Are you also getting a GLIBC error? In that case you probably mixing packages / programs designed for different versions of the operating system.
brunomascitti
Posts: 4
Joined: Sat Sep 15, 2018 10:20 pm

Re: Failed dependencies during qt5-base installation

Post by brunomascitti » Sun Sep 16, 2018 3:18 am

Hi,

Thanks for answer... Well, sorry for my confusion, but when i try install a package qt5-base, a error is displayed:

[root@ASTERISK01 src]# rpm -i qt5-qtbase-5.9.2-3.el7.x86_64.rpm
warning: qt5-qtbase-5.9.2-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
libEGL.so.1()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libGL.so.1()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libQt5Gui.so.5()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libQt5Gui.so.5(Qt_5)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libQt5Gui.so.5(Qt_5_PRIVATE_API)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libc.so.6(GLIBC_2.17)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libcrypto.so.10(OPENSSL_1.0.2)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libdbus-1.so.3(LIBDBUS_1_3)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libicudata.so.50()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libicui18n.so.50()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libicuuc.so.50()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libpcre2-16.so.0()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libsystemd.so.0()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libsystemd.so.0(LIBSYSTEMD_209)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libudev.so.1()(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
libudev.so.1(LIBUDEV_183)(64bit) is needed by qt5-qtbase-5.9.2-3.el7.x86_64
qt5-qtbase-common = 5.9.2-3.el7 is needed by qt5-qtbase-5.9.2-3.el7.x86_64

This package was downloaded in this website: https://centos.pkgs.org/7/centos-x86_64 ... 4.rpm.html


I can't install the packages from the repositories:

[root@ASTERISK01 src]# yum install qt5
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package qt5 available.
Error: Nothing to do
[root@ASTERISK01 src]# yum install qt5-qtbase
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package qt5-qtbase available.
Error: Nothing to do
[root@ASTERISK01 src]# yum install qt5-qtbase-mysql
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package qt5-qtbase-mysql available.
Error: Nothing to do


Tks again.
User avatar
Telium Support
Posts: 180
Joined: Sun Nov 27, 2016 3:27 pm

Re: Failed dependencies during qt5-base installation

Post by Telium Support » Sun Sep 16, 2018 11:31 am

I suspect you are mixing incompatible packages. I'm guessing that your OS is redhat based. Please post the output of:

Code: Select all

cat /etc/redhat-release
Instead of manually picking packages from various repo's on the internet you may wish to add a comprehensive repo like EPEL which has all of these packages available. (Assuming your OS distro is compatible)
brunomascitti
Posts: 4
Joined: Sat Sep 15, 2018 10:20 pm

Re: Failed dependencies during qt5-base installation

Post by brunomascitti » Sun Sep 16, 2018 5:27 pm

There is it:

[root@ASTERISK01 ~]# cat /etc/redhat-release
SHMZ release 6.6 (Final)

How can I do about the EPEL? I tried picking using 'yum' and i can't do it.

[root@ASTERISK01 ~]# yum install epel
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package epel available.
Error: Nothing to do
[root@ASTERISK01 ~]# yum install EPEL
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package EPEL available.
Error: Nothing to do

Tks
User avatar
Telium Support
Posts: 180
Joined: Sun Nov 27, 2016 3:27 pm

Re: Failed dependencies during qt5-base installation

Post by Telium Support » Sun Sep 16, 2018 7:38 pm

There's the problem: you are running a derivative of Red Hat 6 yet the rpm command you issued above was trying to install a package designed for Red Hat 7. That's why you got the GLIBC error.

If you google how to add EPEL to your distro (CentOS 6) you will find detailed instructions; or try this link: https://www.tecmint.com/how-to-enable-e ... entos-6-5/ That will make installation of qt5 (and other non-core packages) easier.

If you want to install a single package directly from a repo (as you did above), you can do so but ensure you are using CentOS 6 repo. (Not CentOS 7).
brunomascitti
Posts: 4
Joined: Sat Sep 15, 2018 10:20 pm

Re: Failed dependencies during qt5-base installation

Post by brunomascitti » Mon Sep 17, 2018 5:57 pm

That worked. I could install the packages using the repo epel.

Thanks for helping.
Post Reply