From owner-freebsd-questions Tue Nov 9 0:37: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id AD59E14F5F for ; Tue, 9 Nov 1999 00:36:57 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11l6lc-000HQF-00; Tue, 09 Nov 1999 10:36:40 +0200 From: Sheldon Hearn To: Richard Morte Cc: freebsd-questions Subject: Re: Installing GDBM_File (was: Location of GDBM_File in FreeBSD 3.2_Release) In-reply-to: Your message of "Mon, 08 Nov 1999 14:07:18 GMT." <3826D916.C81423AD@sinclairassoc.force9.co.uk> Date: Tue, 09 Nov 1999 10:36:40 +0200 Message-ID: <66974.942136600@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 08 Nov 1999 14:07:18 GMT, Richard Morte wrote: > > > $ perl Makefile.PL > > > Note (probably harmless): No library found for -lgdbm > > > Note (probably harmless): No library found for -ldbm Okay, so if you've got gdbm installed, then the only possible problem is that whatever is trying to find it isn't looking in the right place. Presumably, something in your Makefile.PL contains -lgdbm, which means "link against a library called libgdbm. You need to add to that statement -L/usr/local/lib, which means "also look for libraries in the path /usr/local/lib", since that's probably where libgdbm is. Don't take the advice you've been given about creating symlinks in /usr -- it's messy and not good practice. :-) If the instructions above aren't enough to get you going, gimme a shout in private mail. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message