Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 1996 11:12:31 -0700
From:      "Josef C. Grosch" <jgrosch@xsvr2.cup.hp.com>
To:        "Richard Gresek" <rg@plusnet.de>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: apache compilation
Message-ID:  <9608091112.ZM1438@xsvr2.cup.hp.com>
In-Reply-To: "Richard Gresek" <rg@plusnet.de> "apache compilation" (Aug  9,  7:28pm)
References:  <199608091929.TAA11179@gds.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 9,  7:28pm, Richard Gresek wrote:
> Subject: apache compilation
> I am trying to compile apache_1.1.1 and get the following error msg.:
>
> mod_auth.o: Undefined symbol `_crypt' referenced from text segment
>
> When I comment out the authentication module the compilation and
> linking finish successfully. I don t want to use the pre-compiled
> binaries, as I d like to link PHP-module into the httpd.
>
> I suppose that I miss some library on my machine. Which is it? Where
> to get?
>
> Richard Gresek

[ SNIP ]

>-- End of excerpt from Richard Gresek

You need to link in the crypt library, /usr/lib/libcrypt.a or more correctly,
/usr/lib/libcrypt.so

Modify your Makefile or config file (I can't remember the details of an Apache
build) to include -lcrypt when it links

Josef


-- 
Josef Grosch, 47LG4 | "Laugh while you can, | My opinions are mine, not
jgrosch@cup.hp.com  |    monkey boy!"       | HPs. They have'nt paid for 
(408) 447-0467      |    - John Warfin -    | them yet !  :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9608091112.ZM1438>