*BSD News Article 71474


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!swidir.switch.ch!swsbe6.switch.ch!surfnet.nl!howland.reston.ans.net!world1.bawave.com!newsfeed.internetmci.com!in2.uu.net!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: -lcrypt errors ?
Date: Wed, 19 Jun 1996 22:21:02 -0700
Organization: Erols Internet Services
Lines: 29
Message-ID: <31C8DFBE.6564@www.play-hookey.com>
References: <31C88399.41C67EA6@ozemail.com.au>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Jon Harsem wrote:
> 
> This is most probably a silly question but when I
> try to 'make' the apache 1.1.b3 source distribution I get a
> -lcrypt error ..this also occurs on other 'make' attempts with
> other sources.
> 
> I believe it says <bla bla> -lcrypt error referenced from text segment
> 
> (this is slightly paraphrased)
> 
> any ideas what to do about that error ?
> 

I think you missed a line in the Configuration file. I'm using Apache 
1.0.5 at this point, but I think this element is unchanged. In 
Configuration you'll find a line that says BSDI doesn't need -lcrypt. 
However, FreeBSD does need it, so uncomment the line:

#AUX_LIBS= -lcrypt

I believe this will get you going.

Incidentally, make sure you have the right path info in httpd.h -- the 
defaults from Apache don't quite match the FreeBSD organization.

Hope this helps!

Ken