How to resolve libpcre.so.1()(64bit) dependency in amazon linux ami - linux

When try to install maxscale, it ask libpcre. How to install libpcre
on linux?
rpm -ivh maxscale-1.4.3-1.rhel.7.x86_64.rpm
warning: maxscale-1.4.3-1.rhel.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 8167ee24: NOKEY
error: Failed dependencies:
libpcre.so.1()(64bit) is needed by maxscale-1.4.3-1.x86_64

This worked for me:
yum install pcre2-devel.x86_64

Related

Unable to install git in redhat linux server

While installing git in redhat linux it asked for few dependencies for installation of git.
i downloaded them nut while installing it throughs below error.
[root#sudhakar ~]# rpm -ivh git-1.7.1-2.el6_0.1.x86_64.rpm
warning: git-1.7.1-2.el6_0.1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
perl(Git) is needed by git-1.7.1-2.el6_0.1.x86_64
perl-Git = 1.7.1-2.el6_0.1 is needed by git-1.7.1-2.el6_0.1.x86_64
[root#sudhakar ~]# rpm -ivh perl-Git-1.7.1-2.el6_0.1.noarch.rpm
warning: perl-Git-1.7.1-2.el6_0.1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
git = 1.7.1-2.el6_0.1 is needed by perl-Git-1.7.1-2.el6_0.1.noarch
Whereas i have downloaded both the packages required here, but unable to install any of them.
Use yum localinstall git-1.7.1-2.el6_0.1.x86_64.rpm. It will automatically download the required dependencies if you have yum repositories configured.

I am facing issues while installing libsctp on redhat

I am trying to install libsctp on redhat. There is a chain of dependencies. How to install all libraries/dependencies in this group?
configure: error: --with-sctp given but cannot find libsctp [root#localhost libfixbuf-1.7.1]# cd ../Downloads/ [root#localhost Downloads]# rpm -ivh libsctp1-1.0.11-4-mdv2012.0.i586.rpm warning: libsctp1-1.0.11-4-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEY Preparing... ########################################### [100%] package libsctp1-1.0.11-4.i586 is already installed [root#localhost Downloads]#
I am trying to install libfixbuf using ./configure --with-sctp The error thrown says that sctp is not installed. though it is installed
Solved the issue.. Installed lksctp-tools-1.0.16. That solved the problem
Solved the issue.. Installed lksctp-tools-1.0.16. That solved the problem

Warning libstdc++-devel-4.4.4-13.el6.x86_64.rpm

im getting this error when trying to installing this rpm into the kernel server of 64bit.
The error is as the log below:
rpm -ivh libstdc++-devel-4.4.4-13.el6.x86_64.rpm
warning: libstdc++-devel-4.4.4-13.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
libstdc++(x86-64) = 4.4.4-13.el6 is needed by libstdc++-devel-4.4.4-13.el6.x86_64
Any suggestions would be appreciated. Thanks..
You can only install a RPM after you have installed all its dependencies.
To install this RPM first you need to install libstdc++-4.4.4-13.el6.x86_64.rpm
You can do this in two ways .
Method 1 :
Download and install libstdc++-4.4.4-13.el6.x86_64.rpm first and then libstdc++-devel afterwards.
wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/libstdc++-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
Method 2 :
You can use yum to automatically resolve and install dependencies for you
yum localinstall libstdc++-devel-4.4.4-13.el6.x86_64.rpm
If that doesn't work, try
yum install libstdc++-devel

Rpm Installation Error, libstdc++-4.4.4-13.el6

Im trying to install this rpm "libstdc++-4.4.4-13.el6.x86_64"
But Im having this error:-
# rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
warning: libstdc++-4.4.4-13.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Preparing... ########################################### [100%]
package libstdc++-4.4.7-4.el6.x86_64 (which is newer than libstdc++-4.4.4-13.el6.x86_64) is already installed
file /usr/lib64/libstdc++.so.6.0.13 from install of libstdc++-4.4.4-13.el6.x86_64 conflicts with file from package libstdc++-4.4.7-4.el6.x86_64
Im also trying to install this rpm "libstdc++-4.4.7-4.el6.x86_64" as my previous attempt to install "libstdc++-4.4.4-13.el6.x86_64", but the method does not working.
I did try replace "rpm -ivh --replacefiles" command., in order to replace libstdc++-4.4.7-4.el6.x86_64 with libstdc++-4.4.7-4.el6.x86_64, as well with libstdc++-4.4.4-13.el6.x86_64 but the method is also does not working.
I also did try the sudo command, but still getting the similar situation. Any suggestions would be nice
Its alrite, I have got it figure out..
Just force installation the rpm using this command
rpm -ivh --old-package
rpm -ivh --force
Either should do.

How to install yum on centos

I removed /usr/bin/yum by mistake.
How to re install yum on centos6
Please help me ;(
I followed website explanation
but I got this error Failed dependencies: blah,blah
or yum-2.2.1-1.centos4.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID ###: NOKEY
ps. I try this
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
and rpm -ivH yum-3.2.29-60.el6.centos.noarch.rpm
then I got this error
Failed dependencies:
/usr/bin/python is needed by yum-3.2.29-60.el6.centos.noarch
python >= 2.4 is needed by yum-3.2.29-60.el6.centos.noarch
python(abi) = 2.6 is needed by yum-3.2.29-60.el6.centos.noarch
python-sqlite is needed by yum-3.2.29-60.el6.centos.noarch
so I copied old version yum
and This error what i got
-bash: /usr/bin/yum: /usr/bin/python2.6: bad interpreter: no such file or directory
(I upgraded python2.6 to python2.7)
Is aptitude or apt-get available on the machine?
apt-get install yum
Or have a look here:
http://openvz.org/Install_yum

Resources