[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disappearing ldconfig



On Sat, Nov 04, 2000 at 03:22:36AM -0500, John Kiff wrote:
> I've been trying to install and upgrade a few packages, and whether I
> use dpkg or apt-get, I ultimately get the following message before the
> whole process grinds to a halt: "'ldconfig' not found in PATH". I
> presume that I have inadvertently removed ldconfig in the course of
> doing something else. My question is how do I get my ldconfig back?

Instead of assuming ldconfig is missing, why don't you check?  It may be
some post-install script is incorrectly setting the $PATH variable.  If
it's missing for some reason reinstall libc6 (though I'd suspect a $PATH
error).  ls -l /sbin/ldconfig ...

-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='



Reply to: