From owner-freebsd-bugs Thu Aug 5 16:17:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from diarmadhi.mushhaven.net (cm-24-142-61-124.cableco-op.ispchannel.com [24.142.61.124]) by hub.freebsd.org (Postfix) with ESMTP id 7F90D151C9 for ; Thu, 5 Aug 1999 16:17:01 -0700 (PDT) (envelope-from mistwolf@diarmadhi.mushhaven.net) Received: (from mistwolf@localhost) by diarmadhi.mushhaven.net (8.9.3/8.9.3) id PAA61978 for freebsd-bugs@FreeBSD.ORG; Thu, 5 Aug 1999 15:24:29 -0700 (PDT) (envelope-from mistwolf) Date: Thu, 5 Aug 1999 15:24:29 -0700 From: Jamie Norwood To: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/12720: gdbm (And possibly other libraries in /usr/local/lib) not usable under 3.* Message-ID: <19990805152428.A61951@mushhaven.net> References: <199908020620.XAA87760@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199908020620.XAA87760@freefall.freebsd.org>; from Jamie Norwood on Sun, Aug 01, 1999 at 11:20:02PM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has any progress/update been made on this? I am about to change mainboards and processors, and as such will be reinstalling the OS, and I now need to make the choice of a Linux varient, Solaris, or FreeBSD. If FreeBSD, should I be staying with 3.2 or should I go back to a saner 2.2.8? Jamie On Sun, Aug 01, 1999 at 11:20:02PM -0700, Jamie Norwood wrote: > The following reply was made to PR misc/12720; it has been noted by GNATS. > > From: Jamie Norwood > To: Chris Piazza > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: misc/12720: gdbm (And possibly other libraries in /usr/local/lib) not usable under 3.* > Date: Sun, 1 Aug 1999 23:15:04 -0700 > > Compiling things at the command line with -lgdbm should, as it did in 2.2.8, > work. The /only/ way to use gdbm is using the -L flags. Maybe I am missing > something important here, but given that /usr/local/lib is in the ldconfig > information, it should be probed with a standard -l and not need a -L. I > could be wrong, I am new to programming, but this is how it worked in 2.2.8, > and how it works under Linux and Solaris... > > Jamie > > > On Sun, Aug 01, 1999 at 11:09:11PM -0700, Chris Piazza wrote: > > This is not a problem with the port or package of gdbm, it is a problem > > with the configure scripts. Here's a fancy fix: > > > > % env LDFLAGS="-L/usr/local/lib" ./configure > > [..] > > checking for dbm_close in -lgdbm... yes > > checking for main in -lresolv... no > > checking for getpwnam in -lsun... no > > checking for main in -lseq... no > > checking for main in -lintl... yes > > > > Conclusion: > > It's not the gdbm port's problem that these configure scripts don't > > check /usr/local/lib. I'll close this PR if you don't object. > > > > -Chris > > > > -- > > cpiazza@home.net cpiazza@FreeBSD.org > > "I don't like principles. I prefer prejudices." > > -Oscar Wilde > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message