[tac_plus] TACACS installation to Redhat 7.1

Heasley heas at shrubbery.net
Sun May 3 19:00:00 UTC 2015


Am 03.05.2015 um 05:30 schrieb Peter Mraz <trubela at gmail.com>:
> 
> The most probably, tcp_wrappers should be 32 bit. 
> 

You have the source, compile it how you like. But you cant mix ABIs. 

> tcp_wrappers.x86_64                 7.6-77.el7               @anaconda/7.1      
> tcp_wrappers-devel.i686             7.6-77.el7               @rhel-7-server-rpms
> tcp_wrappers-devel.x86_64           7.6-77.el7               @rhel-7-server-rpms
> tcp_wrappers-libs.i686              7.6-77.el7               @rhel-7-server-rpms
> tcp_wrappers-libs.x86_64            7.6-77.el7               @anaconda/7.1   
> 
> (based on this output : /usr/bin/ld: skipping incompatible /lib/libwrap.so when searching for -lwrap)
> 
>> On 2 May 2015 at 17:38, heasley <heas at shrubbery.net> wrote:
>> Sat, May 02, 2015 at 02:28:44PM +0200, Peter Mraz:
>> > Hello guys,
>> >
>> > Last few weeks, we are trying to install tacacs on new virtual server
>> > running on vmware, redhat 7.1
>> > Tacacs+ worked pretty well on 5.7 version, but on this 7.1 64 bit, there is
>> > some strange error and I dont know what to do with that :)
>> 
>> > [root at SELABSK tacacs+]# /etc/tacacs+/tac_process FDO1550K0T8 49 start
>> > /usr/local/bin/tac_plus: error while loading shared libraries: libtacacs.so.1: wrong ELF class: ELFCLASS64
>> 
>> looks like your tacacs is linked 32bit but libtacacs is 64bit.  check the
>> libs in .libs where you built it.  it doesnt look like any of it was
>> built 64bit, so you have a conflicting libtacacs installed.
>> 
>> > Tacacs for FDO1550K0T8 with port:49 Pid: started!
>> > [root at SELABSK tacacs+]#
>> 
>> this is a separate bug.  when ld.so fails above, does it not return an
>> error result code?  whatever the starting wrapper is, it should have
>> recognized an error and reported it.
> 
> 
> 
> -- 
> Ďakujem / Thank you
> 
> -----------------------------------------------------------
>          Peter Mraz
> -----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20150503/1084b53d/attachment.html>


More information about the tac_plus mailing list