From owner-freebsd-questions Sat Oct 23 15:40:50 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 068EC14A10 for ; Sat, 23 Oct 1999 15:40:47 -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 SAA38649; Sat, 23 Oct 1999 18:44:06 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910232244.SAA38649@cc942873-a.ewndsr1.nj.home.com> Subject: Re: ldconfig & elf In-Reply-To: <4.1.19991023171854.0093eb00@unix01.voicenet.com> from John at "Oct 23, 1999 05:22:03 pm" To: papalia@UDel.Edu (John) Date: Sat, 23 Oct 1999 18:44:06 -0400 (EDT) Cc: cjclark@home.com, 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, > >> 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 do believe you're very right with this assessment =) > > > > >> 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 > > I tried running both, and I keep getting "exit on signal 12, core dump." > Just for giggles I tried running simply "ldconfig -elf", and I get the > errors that ulimit() and setup() are not supported. > > Any more ideas? Are the core dumps actually from ldconfig? Or has the loss of ELF libraries impared your shell somehow? ulimit() and setup() are not things I associate with ldconfig, but rather the shell. If it is the shell, make sure to use /bin/sh or /bin/csh until you can fix the problem. Do a 'ls -l' of /sbin and make sure the ldconfig executable has not been corrupted (its modification time should be close to all of the other programs in there). Oh, and maybe try using the full pathname... but I don't know why there would be another program called 'ldconfig' in your path. If all of that does not work, you might want to grab the ldconfig executable from the most convenient source (CD or website). What kind of modifications have you made, if you are aware of any, to your base system? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message