[95911] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Error Compiling TACACS+ on RH5.1 - SOLVED!

daemon@ATHENA.MIT.EDU (Graham Hemmings)
Thu Oct 22 08:36:41 1998

Date: Thu, 22 Oct 1998 12:35:29 +0000
To: redhat-list@redhat.com
From: Graham Hemmings <gh-work@netcomuk.co.uk>
In-Reply-To: <9810221229.AC26992@mars.cableol.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Never mind, I solved it!

I borrowed one of the FreeBSD options in the Makefile (OSLIBS=-lcrypt) and
now it all works!

Strange how seconds after posting to the list I solve a problem I have had
for weeks!

This truely is a powerful support medium!

Graham...

At 12:29 22/10/98 +0000, you wrote:
>I have been trying to compile TACACS+ 2.1 on a RedHat 5.1 machine with no
>luck.
>Initially I received loadsa compile errors but have managed (by
>incorporating missing #includes) to wittle this down to just one error:
>
>/tmp/cca072971.o: In function `main':
>/usr/src/tac_plus.2.1/generate_passwd.c:71: undefined reference to `crypt'
>make: *** [generate_passwd] Error 1
>
>I cannot cure the unresolved reference to crypt, yet it seems to exist in
>the #includes.
>
>Unfortunately I am no C programmer (as you can probably tell) but I have
>had problems with crypt before when compiling other programs, it strikes me
>that something has changed from RH4.2 to RH5.1 in this area but I don't
>know what.
>
>If anyone can throw some light on this problem or supply me with a TACACS+
>RPM (dreamer) then I would be most grateful.
>
>BTW: Please don't suggest I use RADIUS as I really need TACACS+
>
>Thanks
>
>Graham....
>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post