From owner-freebsd-questions Sat Oct 23 11:30:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 1346214D03 for ; Sat, 23 Oct 1999 11:30:15 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA38186; Sat, 23 Oct 1999 14:33:35 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910231833.OAA38186@cc942873-a.ewndsr1.nj.home.com> Subject: Re: ldconfig & elf In-Reply-To: <4.1.19991023124809.0094c410@unix01.voicenet.com> from John at "Oct 23, 1999 12:54:41 pm" To: papalia@UDel.Edu (John) Date: Sat, 23 Oct 1999 14:33:35 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John wrote, > 'Morning all... > > I'm having what I think to be a problem with ldconfig. Checked the > archives, didn't spot anything useful. I apologize in advance if this is a > FAQ. > > Running 3.3, and everythings seems to be purring ok, except for the > occassional call to an elf library. I thought I understood the command, > somebody correct me if i'm off: Not sure if you do. > I tried to run ldconfig -elf. Nothing. This is correct behavior. You probably just reset the /var/run/ld-elf.so.hints file to nil as well. > ldconfig -v -elf = nothing That's correct. You are pretty much telling it to do nothing here. > ldconfig -v -m -elf = nothing Correct. > ldconfig -v -R -elf = nothing Correct. > ldconfig -v -m = nothing Correct. > Previously if i ran ldconfig -v -r -elf, I'd be shown what was in essence > and empty file. Now if I run ldconfig -v -r -elf, I get a Bad system call > (core dumped). Not sure what I did... This, however, is NOT correct. I am not sure why it would be core dumping. Before you try anthing else, why don't you rebuild your hints file, # ldconfig -elf /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib # ldconfig -r -elf -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message