<div dir="ltr"><div>The most probably, tcp_wrappers should be 32 bit. <br><br>tcp_wrappers.x86_64                 7.6-77.el7               @anaconda/7.1      <br>tcp_wrappers-devel.i686             7.6-77.el7               @rhel-7-server-rpms<br>tcp_wrappers-devel.x86_64           7.6-77.el7               @rhel-7-server-rpms<br>tcp_wrappers-libs.i686              7.6-77.el7               @rhel-7-server-rpms<br>tcp_wrappers-libs.x86_64            7.6-77.el7               @anaconda/7.1   <br><br></div>(based on this output : /usr/bin/ld: skipping incompatible /lib/libwrap.so when searching for -lwrap)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 May 2015 at 17:38, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sat, May 02, 2015 at 02:28:44PM +0200, Peter Mraz:<br>
<span class="">> Hello guys,<br>
><br>
> Last few weeks, we are trying to install tacacs on new virtual server<br>
> running on vmware, redhat 7.1<br>
> Tacacs+ worked pretty well on 5.7 version, but on this 7.1 64 bit, there is<br>
> some strange error and I dont know what to do with that :)<br>
<br>
</span>> [root@SELABSK tacacs+]# /etc/tacacs+/tac_process FDO1550K0T8 49 start<br>
> /usr/local/bin/tac_plus: error while loading shared libraries: libtacacs.so.1: wrong ELF class: ELFCLASS64<br>
<br>
looks like your tacacs is linked 32bit but libtacacs is 64bit.  check the<br>
libs in .libs where you built it.  it doesnt look like any of it was<br>
built 64bit, so you have a conflicting libtacacs installed.<br>
<br>
> Tacacs for FDO1550K0T8 with port:49 Pid: started!<br>
> [root@SELABSK tacacs+]#<br>
<br>
this is a separate bug.  when ld.so fails above, does it not return an<br>
error result code?  whatever the starting wrapper is, it should have<br>
recognized an error and reported it.<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Ďakujem / Thank you<br><br>-----------------------------------------------------------<br>         Peter Mraz<br>-----------------------------------------------------------</div></div>
</div>