Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 1997 16:51:40 -0600 (MDT)
From:      Marc Slemko <marcs@znep.com>
To:        Lew Teck Kheng <tklew@binariang.maxisnet.com.my>
Cc:        "'FreeBSD'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Help needed ......I get this error while compile the htpasswd pro gram.
Message-ID:  <Pine.BSF.3.95.970813165025.19594J-100000@alive.znep.com>
In-Reply-To: <60B34F2F68E5D011AD7600609759FA23031B7B@SHT-01-MSG>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970813165025.19594J-100000>