Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install AUTHBIND on CentOS 6

I tried to install authbind but getting below error,

enter image description here

Can anyone please help me to resolve this error.

like image 257
Sanket Dosi Avatar asked Dec 14 '22 07:12

Sanket Dosi


2 Answers

There this project here : https://github.com/tootedom/authbind-centos-rpm

You can easely download this file with :

wget https://s3.amazonaws.com/aaronsilber/public/authbind-2.1.1-0.1.x86_64.rpm

and install it with :

rpm -Uvh https://s3.amazonaws.com/aaronsilber/public/authbind-2.1.1-0.1.x86_64.rpm
like image 51
Irrational Avatar answered Jan 07 '23 22:01

Irrational


The previous answer by irrational won't work because that rpm is built against libc2.14 which is only on centos 7 not 6.

rpm -Uvh authbind-2.1.1-0.1.x86_64.rpm 
error: Failed dependencies:
       libc.so.6(GLIBC_2.14)(64bit) is needed by authbind-2.1.1-0.1.x86_64

I think you have to build the rpm yourself from the instructions at https://github.com/tootedom/authbind-centos-rpm

I'm having some trouble because the spec file appears to have some errors. UPDATE:

step-by-step instructions:

svn co https://github.com/tootedom/authbind-centos-rpm.git
mkdir /root/rpmbuild
cp -R authbind-centos-rpm.git/trunk/authbind/* /root/rpmbuild/
cd /root/rpmbuild/SOURCES
wget http://ftp.debian.org/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz
mv authbind_2.1.1.tar.gz authbind-2.1.1.tar.gz
cd ../
rpmbuild -v -bb --clean SPECS/authbind.spec

After all that fix up the rpm actually built and is now at:

/root/rpmbuild/RPMS/x86_64/authbind-2.1.1-0.1.x86_64.rpm

You can now install that using rpm -Uvh and have access to authbind like dem debian peeps.

I did this on centos 6.7 minimal os

like image 25
xcalibre Avatar answered Jan 07 '23 23:01

xcalibre