Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 18:44:06 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        papalia@UDel.Edu (John)
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: ldconfig & elf
Message-ID:  <199910232244.SAA38649@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <4.1.19991023171854.0093eb00@unix01.voicenet.com> from John at "Oct 23, 1999 05:22:03 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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 =)
> 
> <snip various attempts>
> 
> >> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910232244.SAA38649>