*BSD News Article 82504


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!news.sgi.com!news.corp.sgi.com!walter.cray.com!timbuk.cray.com!news3.mr.net!mr.net!www.nntp.primenet.com!nntp.primenet.com!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: Ollivier.Robert@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Where is Crypt?
Date: 8 Nov 1996 16:34:54 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 26
Message-ID: <55vnfe$mso@polaris.eurocontrol.fr>
References: <55tbog$cep@decaxp.harvard.edu>
NNTP-Posting-Host: mozart.eurocontrol.fr
X-Newsposter: Pnews 4.0-test46 (31 Oct 96)

    [courtesy cc of this posting sent to cited author via email]

In article <55tbog$cep@decaxp.harvard.edu>,
Min Lee <mlee@husc7.harvard.edu> wrote:
> 	I am currently running FreeBSD 2.1.5 from the Walnut Creek CDROM, and I
> 	am trying to install a program that uses crypt().  However, when I do a
> 	make, it gives the message:
> checking for crypt.h... (cached) no

It is surprising for autoconf not to find that you need "-lcrypt" to get
crypt(3).

Try 

env LIBS="-lcrypt" ./configure 

and see the result.

Remember that by default you get the MD5-based crypt(3) function and that
you must get the "des" distribution f you want to have the more standard
DES-based crypt(3).

PS: please cut your lines at 75 characters...
-- 
Ollivier ROBERT   -=- Eurocontrol EEC/TS -=-   Ollivier.Robert@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>