From owner-freebsd-questions Wed Aug 13 15:58:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA05092 for questions-outgoing; Wed, 13 Aug 1997 15:58:48 -0700 (PDT) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA05087 for ; Wed, 13 Aug 1997 15:58:46 -0700 (PDT) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.8.5/8.8.5) with UUCP id QAA10712; Wed, 13 Aug 1997 16:58:32 -0600 (MDT) Received: from localhost (marcs@localhost) by alive.znep.com (8.7.5/8.7.3) with SMTP id QAA22206; Wed, 13 Aug 1997 16:51:40 -0600 (MDT) Date: Wed, 13 Aug 1997 16:51:40 -0600 (MDT) From: Marc Slemko To: Lew Teck Kheng cc: "'FreeBSD'" Subject: Re: Help needed ......I get this error while compile the htpasswd pro gram. In-Reply-To: <60B34F2F68E5D011AD7600609759FA23031B7B@SHT-01-MSG> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Don't use 1.2b7, it is outdated. Use 1.2.1 or 1.2.3 (when it is out in a few days). In any case, the answer to your problem is to add -lcrypt to the htpasswd compilation line in the Makefile. This should be done automatically for FreeBSD in 1.2.1 after you run Configure. On Tue, 12 Aug 1997, Lew Teck Kheng wrote: > Dear all, > > I have just install the apache 1.2b7 in my FreeBSD machine (2.2.1). > > I need to compile some extra programs come with the apache > distributions. > > > But whenever I try to compile the htpasswd using gcc 2.7.2.1 ,I get this > errors.. > > "/var/tmp/cc0002571.0:Undefined symbol '_crypt' referenced from text > segment > ***Error code 1 > > Stop. > > Anybody can help???? > > Thanks in advance > Lew(Malaysia) >