From owner-freebsd-questions Thu Jul 15 3:28:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.typhoon.co.jp (storm.typhoon.co.jp [202.33.21.38]) by hub.freebsd.org (Postfix) with ESMTP id 44EFC15074 for ; Thu, 15 Jul 1999 03:27:53 -0700 (PDT) (envelope-from robertor@typhoon.co.jp) Received: from robertor.typhoon.co.jp (du076.typhoon.co.jp [202.33.21.76]) by storm.typhoon.co.jp (8.9.3/8.9.3/TIS-MX) with SMTP id TAA22352; Thu, 15 Jul 1999 19:26:03 +0900 (JST) From: "Richard G. Roberto" To: Jamie Norwood , freebsd-questions@FreeBSD.ORG Subject: Re: Problems with GDBM on FreeBSD 3.2-R Date: Thu, 15 Jul 1999 19:17:28 +0900 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: <19990714213140.A3636@ethereal.net> MIME-Version: 1.0 Message-Id: <99071519240800.06507@robertor.typhoon.co.jp> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 e= ffort > 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_PAT= H, > LD_RUN_PATH, nothing else works but that. Which means, for one thing, t= hat > GNU configure scripts never find it. >=20 > The odd thing is, if I install 2.2.8-R on a machine, and install, eithe= r by > hand or ports,GDBM, it works perfectly fine. >=20 > I have tried this on at least 6 installations of 3.x since it went RELE= ASE, > and it is still happening. All other libraries in /usr/local/lib (readl= ine,=20 > for one...) seem to work fine. This has me really puzzled as to why, ex= actly, > it is happening.=20 >=20 > 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 databas= es > based on gdbm, and this makes getting them set up on my machines a lot = harder > than it should be. :/ >=20 > CCing the maintainer of GDBM in case s/he has insite. >=20 > Jamie >=20 >=20 > --=20 > -----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------ >=20 >=20 >=20 > 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