mehrdadrad / mylg

Network Diagnostic Tool
http://mylg.io
MIT License
2.7k stars 232 forks source link

Unable to install CentOS 7 #74

Open cc-commit opened 7 years ago

cc-commit commented 7 years ago

I'm unable to install it, please could you advise. Here is some details:

[root@localhost programs_install]# rpm -ihv mylg-0-2.6.x86_64.rpm error: Failed dependencies: libpcap.so.0.8()(64bit) is needed by mylg-0-2.6.x86_64

[root@localhost programs_install]# rpm -qa | grep libpcap libpcap-1.5.3-8.el7.x86_64 libpcap-devel-1.5.3-8.el7.x86_64

[root@localhost programs_install]# ls -alh /usr/lib64/ | grep libpcap lrwxrwxrwx. 1 root root 12 Dec 29 15:06 libpcap.so -> libpcap.so.1 lrwxrwxrwx. 1 root root 16 Dec 29 15:06 libpcap.so.1 -> libpcap.so.1.5.3

[root@localhost programs_install]# uname -a Linux localhost.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost programs_install]# cat /etc/*-release CentOS Linux release 7.3.1611 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core) CentOS Linux release 7.3.1611 (Core)

Thanks

mehrdadrad commented 7 years ago

You can fix it by the below for the time being but we need to enhance the RPM package to fix this issue. ln -s /usr/lib64/libpcap.so.1.5.3 /usr/lib64/libpcap.so.0.8

cc-commit commented 7 years ago

Sorry, I forgot to write that I tried that before and it didn't work - I get the same error. I'm trying that again now and the same result.

error: Failed dependencies: libpcap.so.0.8()(64bit) is needed by mylg-0-2.6.x86_64

mehrdadrad commented 7 years ago

pls send me the ls -l /usr/lib64/ | grep libpcap

cc-commit commented 7 years ago

This is the current output

[root@localhost ~]# ls -alh /usr/lib64/ | grep libpca lrwxrwxrwx. 1 root root 12 Dec 29 15:06 libpcap.so -> libpcap.so.1 lrwxrwxrwx. 1 root root 27 Dec 30 01:13 libpcap.so.0.8 -> /usr/lib64/libpcap.so.1.5.3 lrwxrwxrwx. 1 root root 16 Dec 29 15:06 libpcap.so.1 -> libpcap.so.1.5.3 -rwxr-xr-x. 1 root root 261K Nov 20 2015 libpcap.so.1.5.3

root@localhost lib64]# rpm -ihv /home/programs_install/mylg-0-2.6.x86_64.rpm error: Failed dependencies: libpcap.so.0.8()(64bit) is needed by mylg-0-2.6.x86_64

Before I open this thread I tried to create a different variations of the soft links resulting the following two outputs but again the same issue:

[root@localhost lib64]# ls -alh | grep libpcap lrwxrwxrwx. 1 root root 12 Dec 29 15:06 libpcap.so -> libpcap.so.1 lrwxrwxrwx. 1 root root 16 Dec 30 15:31 libpcap.so.0.8 -> libpcap.so.1.5.3 lrwxrwxrwx. 1 root root 16 Dec 29 15:06 libpcap.so.1 -> libpcap.so.1.5.3 -rwxr-xr-x. 1 root root 261K Nov 20 2015 libpcap.so.1.5.3 root@localhost lib64]# rpm -ihv /home/programs_install/mylg-0-2.6.x86_64.rpm error: Failed dependencies: libpcap.so.0.8()(64bit) is needed by mylg-0-2.6.x86_64

[root@localhost lib64]# ls -alh | grep libpcap lrwxrwxrwx. 1 root root 14 Dec 30 15:35 libpcap.so -> libpcap.so.0.8 lrwxrwxrwx. 1 root root 12 Dec 30 15:34 libpcap.so.0.8 -> libpcap.so.1 lrwxrwxrwx. 1 root root 16 Dec 29 15:06 libpcap.so.1 -> libpcap.so.1.5.3 -rwxr-xr-x. 1 root root 261K Nov 20 2015 libpcap.so.1.5.3 [root@localhost lib64]# rpm -ihv /home/programs_install/mylg-0-2.6.x86_64.rpm error: Failed dependencies: libpcap.so.0.8()(64bit) is needed by mylg-0-2.6.x86_64

alonro11 commented 7 years ago

hello, i have the same issue CentOS release 6.8

laf commented 7 years ago

You can just do rpm --nodeps -ivh mylg-0-2.6.x86_64.rpm seems to run ok afterwards

wwek commented 7 years ago

cd /usr/lib64/ ln -s libpcap.so.1.5.3 libpcap.so.0.8