From owner-freebsd-questions Thu Jul 16 14:07:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14337 for freebsd-questions-outgoing; Thu, 16 Jul 1998 14:07:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14308 for ; Thu, 16 Jul 1998 14:07:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id OAA03598; Thu, 16 Jul 1998 14:07:16 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 16 Jul 1998 14:07:16 -0700 (PDT) From: Doug White To: Antonio Nati cc: freebsd-questions@FreeBSD.ORG Subject: Re: link of db 2.3.11 In-Reply-To: <3.0.1.32.19980714135457.006acddc@posta.cisco.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Jul 1998, Antonio Nati wrote: > > I've solved all adding manually /usr/local/lib/libdb.a to cc in the makefile. > > But, shouldn't it be automatic to link these calls against this library? I > even copied the library in /usr/lib, with no results. You have to teach the program to pull it in. Some systems have the db calls in the standard C library (libc); in FreeBSD we don't. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message