Pagina Inicial › Forums › HAast (High Availability for Asterisk) › Installation & Upgrade › Failed dependencies during qt5-base installation
-
AuthorPosts
-
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.
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.
I suspect you are mixing incompatible packages. I’m guessing that your OS is redhat based. Please post the output of:
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)
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 hostfil No package EPEL available. Error: Nothing to do
Tks
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-epel-repository-for-rhel-centos-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).
That worked. I could install the packages using the repo epel.
Thanks for helping.
-
AuthorPosts
- You must be logged in to reply to this topic.