[102083] in RedHat Linux List
Re: Tacacs+ compilation error on RH5.1
daemon@ATHENA.MIT.EDU (Graham Hemmings)
Tue Dec 1 10:55:15 1998
Date: Tue, 01 Dec 1998 15:49:58 +0000
To: redhat-list@redhat.com
From: Graham Hemmings <gh-work@netcomuk.co.uk>
In-Reply-To: <Pine.LNX.3.96.981130164139.4294A-100000@kaos.ege.edu.tr>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I had the same problem, which is down to the libraries used on RH5.1 versus
RH4.2 or slackware.
You need to edit the Makefile and under the "# Linux" heading add the
following:
"OSLIBS= -lcrypt" (as per FREEBSD), this seemed to work for me.
I think that was the only change I made, let me know (via this list) if
this does not work.
Graham...
At 16:54 30/11/98 +0200, you wrote:
>Hello !
>I have tacacs+ v2.1 and I could compiled it on Slackware 3.4 successfully.
>I cannot compile tacacs+ v2.1 on RH5.1. When I try to compile it, the
>message below is displayed
>
>/tmp/cc044181.: In functin `main':
>/usr/local/etc/tacplus.2.1/generatespasswd.c:69: undefined reference to
`crypt'
>make: *** [genertespasswd] Errr 1
>[root@kaos tacplus.2.1]#
>
>In "generatepasswd.c", there is a function call to "crypt()". But unistd.h
>(including crypt() func.) has already included. And why is slackware not
>giving me any error message altough RH5.1 gives error ???
>
>Was there anybody facing with the same problem ever before ?
>
>
>Thanks lot...
>
>Umut Ceyhan
>
--
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.