From owner-freebsd-questions Mon Jul 8 14:59:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA11802 for questions-outgoing; Mon, 8 Jul 1996 14:59:56 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA11792 for ; Mon, 8 Jul 1996 14:59:47 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ag17954; 8 Jul 96 21:59 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa15815; 8 Jul 96 22:57 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.6.12/8.6.12) id RAA01996; Mon, 8 Jul 1996 17:42:23 GMT Date: Mon, 8 Jul 1996 17:42:23 GMT Message-Id: <199607081742.RAA01996@jraynard.demon.co.uk> From: James Raynard To: rashid@rk.ios.com CC: chrisl@bbs.justcompute.com, questions@freebsd.org In-reply-to: <199607081403.KAA08273@rk.ios.com> (message from Rashid Karimov on Mon, 8 Jul 1996 10:03:51 -0400 (EDT)) Subject: Re: HELP With apache and Mod_auth_dbm Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I am trying to compile apache with Mod_auth_dbm and whenever I do I > > get the error message "ld: -lndbm; no Match". So if I xcomment that I out > > I get an error from cc that says "mod_auth_dbm.o: undefinded symbol > > '_crypt' referenced from text segment" > > crypt() needs -lcrypt flag to the compiler/linker Yep. > NDBM could be missing from your system - check for > I'm not sure if regular DBM could be used as the > substitute , but db* family of functions lives in > regular libc and therefore doesn't require -lndbm. I'm not sure how compatible the db* functions are with NDBM, but you can use GDBM as a replacement for [N]DBM. Just install it from the port/package, change '-lndbm' to '-lgdbm' and add /usr/local/lib to the directories searched by the linker. -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/