From owner-freebsd-questions Thu Jul 15 13:51:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from camel.ethereal.net (camel.ethereal.net [204.107.140.58]) by hub.freebsd.org (Postfix) with ESMTP id 99570155FD for ; Thu, 15 Jul 1999 13:51:15 -0700 (PDT) (envelope-from mistwolf@camel.ethereal.net) Received: (from mistwolf@localhost) by camel.ethereal.net (8.9.1a/8.9.1) id NAA19344; Thu, 15 Jul 1999 13:50:49 -0700 (PDT) Date: Thu, 15 Jul 1999 13:50:48 -0700 From: Jamie Norwood To: "Richard G. Roberto" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems with GDBM on FreeBSD 3.2-R Message-ID: <19990715135048.A18252@ethereal.net> References: <19990714213140.A3636@ethereal.net> <99071519240800.06507@robertor.typhoon.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.2i In-Reply-To: <99071519240800.06507@robertor.typhoon.co.jp>; from Richard G. Roberto on Thu, Jul 15, 1999 at 07:17:28PM +0900 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sadly, this doesn't fix it. ;( ldconfig refuses to see the library. But the library DOES work. It is completely and utterly baffling. Anyone else have suggestions/reasons? Or is this a bug I should be reporting to the normal places? Jamie On Thu, Jul 15, 1999 at 07:17:28PM +0900, Richard G. Roberto wrote: > I've had numerous problems with shared libs under freebsd 3.2. I > don't fully understand how they're supposed to work, but I regularly > have to run ldconfig. I keep two files around -- one with the a.out > shared library directories and one with the elf shared library > directories. I can't get ldconfig -R to do anything useful, so a > usually have to re-run ldconfig -aout and ldconfig -elf > to pick up new shared libs. This is a PIA, but it works. Of course, > I'm probably doing something wrong. I spend most of my time on > Solaris where shared libraries are much easier to deal with. > > Anyway, try running ldconfig with whatever options you need and see > if that helps. > > Cheers, > > Richard > > On Thu, 15 Jul 1999, Jamie Norwood wrote: > > OK, this has me completely puzzled. GDBM compiles, installs, and with effort > > works fine, but it's the effort part that has me stumped. In short, the > > only way this library works, whether I compile by hand or by the entry in > > /usr/ports/databases/gdbm, is if I use -L/usr/local/lib. LD_LIBRARY_PATH, > > LD_RUN_PATH, nothing else works but that. Which means, for one thing, that > > GNU configure scripts never find it. > > > > The odd thing is, if I install 2.2.8-R on a machine, and install, either by > > hand or ports,GDBM, it works perfectly fine. > > > > I have tried this on at least 6 installations of 3.x since it went RELEASE, > > and it is still happening. All other libraries in /usr/local/lib (readline, > > for one...) seem to work fine. This has me really puzzled as to why, exactly, > > it is happening. > > > > Does anyone know why this happens? How it can be fixed? I am setting up > > this machine as a haven for MUSHes, many of which have existing databases > > based on gdbm, and this makes getting them set up on my machines a lot harder > > than it should be. :/ > > > > CCing the maintainer of GDBM in case s/he has insite. > > > > Jamie > > > > > > -- > > -----BEGIN GEEK CODE BLOCK----- > > Version: 3.1 > > GCS d- s+:+ a--(?) C++++ UB++++ P+ L--(++) E-- W++(--) N++ O? > > K w(---) O?>+ M?>+ V PS+ PE+ Y+ PGP->++ t+(*) 5+++ X++ R++ tv+ > > b+ DI++++ D++ G e>+ h--- r+++ y+++** > > ------END GEEK CODE BLOCK------ > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:+ a--(?) C++++ UB++++ P+ L--(++) E-- W++(--) N++ O? K w(---) O?>+ M?>+ V PS+ PE+ Y+ PGP->++ t+(*) 5+++ X++ R++ tv+ b+ DI++++ D++ G e>+ h--- r+++ y+++** ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message