Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install CentOS 7 #74

Open
cc-commit opened this issue Dec 29, 2016 · 7 comments
Open

Unable to install CentOS 7 #74

cc-commit opened this issue Dec 29, 2016 · 7 comments

Comments

@cc-commit
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@cc-commit
Copy link
Author

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
Copy link

alonro11 commented Jan 8, 2017

hello,
i have the same issue CentOS release 6.8

@laf
Copy link

laf commented Feb 23, 2017

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

@wwek
Copy link

wwek commented Apr 12, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants