From owner-freebsd-questions Sat Oct 23 17:17:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by hub.freebsd.org (Postfix) with ESMTP id 000FB14E96 for ; Sat, 23 Oct 1999 17:17:36 -0700 (PDT) (envelope-from papalia@UDel.Edu) Received: from morgaine.avalon.com (host75-157.student.udel.edu [128.175.75.157]) by copland.udel.edu (8.9.3/8.9.3) with SMTP id UAA20346; Sat, 23 Oct 1999 20:18:02 -0400 (EDT) Message-Id: <4.1.19991023201332.00943a50@unix01.voicenet.com> X-Sender: papalia@mail.udel.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 23 Oct 1999 20:18:12 -0400 To: cjclark@home.com From: John Subject: Re: ldconfig & elf - solved Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG In-Reply-To: <199910232244.SAA38649@cc942873-a.ewndsr1.nj.home.com> References: <4.1.19991023171854.0093eb00@unix01.voicenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Problem solved.. I recompiled ldconfig, and it works fine now. As for which changes were made to the base system - none that I know of. I do a cvsup every friday night (in weekly.local), but haven't remade the world in 1.5 months or so. Only changes that I made was an failed attempt to install staroffice. After rebuilding ldconifg, I managed to use the command lines below to rebuild the hints file, and all seems to be happy now. Now, if I could just remember what I was planning on doing when all this happened =) Thank you GREATLY for the help!!! --John >> >> 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message