From owner-freebsd-questions Tue Mar 11 12:09:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA06139 for questions-outgoing; Tue, 11 Mar 1997 12:09:08 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA06123 for ; Tue, 11 Mar 1997 12:09:02 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id MAA02696; Tue, 11 Mar 1997 12:08:50 -0800 (PST) Date: Tue, 11 Mar 1997 12:08:50 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Neil C. Jensen" cc: "'questions@freebsd.org'" Subject: Re: trouble compiling htpasswd on 2.2-GAMMA In-Reply-To: <01BC2D74.CE001760@ppp01.habaneros.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 10 Mar 1997, Neil C. Jensen wrote: > I'm trying to compile the htpasswd program which comes with Apache 1.2b7 and get the following errors: > > bash-2.00$ make > gcc -DSTATUS htpasswd.c -o htpasswd > /var/tmp/cc0004281.o: Undefined symbol `_crypt' referenced from text segment > *** Error code 1 > > I haven't changed the Makefile in the support directory at all; LIBS1= > -lcrypt is included. This didn't take effect. Are you sure it was the right place to put it? (take a look at the gcc command line above) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major