Re: what to install to get ldconfig..?

2002-05-02 Thread Ben Collins
On Thu, May 02, 2002 at 07:57:20PM +0300, Tuomo Karhu wrote:
> (#:/work) dpkg -i libc6_2.1.3-20.deb 
> dpkg: `ldconfig' not found on PATH.
> dpkg: 1 expected program(s) not found on PATH.
> NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
> 
> ([EMAIL PROTECTED])(/dev/pts/4)(19:53:46)(Thu May  2)(6)(1)
> (#:/work) locate ldconfig
> doesn't find it.
> 
> So, what do i have to install to get ldconfig..
> Sorry for being such a newbie.

Sounds to me like you upgraded to woody and then tried to go back.
Download the ldso package from potato and do:

dpkg --force-bad-path -i ldso.deb

-- 
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what to install to get ldconfig..?

2002-05-02 Thread Colin Watson
On Thu, May 02, 2002 at 07:57:20PM +0300, Tuomo Karhu wrote:
> (#:/work) dpkg -i libc6_2.1.3-20.deb 
> dpkg: `ldconfig' not found on PATH.
> dpkg: 1 expected program(s) not found on PATH.
> NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
> 
> ([EMAIL PROTECTED])(/dev/pts/4)(19:53:46)(Thu May  2)(6)(1)
> (#:/work) locate ldconfig
> doesn't find it.
> 
> So, what do i have to install to get ldconfig..

In potato, it was in the ldso package. In woody it has moved to libc6.

It sounds like you're trying to downgrade from woody's libc6 to
potato's, where this can be a problem. You may have difficulty getting
ldso reinstalled due to this. If so, try 'dpkg --force-bad-path -i
ldso_1.9.11-9_i386.deb'. Then reinstall libc6 with dpkg, and continue
from there.

> Sorry for being such a newbie.

Not at all, downgrading can be a bit of a mess sometimes ... although
it's technically possible, it's not very well supported.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: what to install to get ldconfig..?

2002-05-02 Thread Kurc, Marcin A.
it's really unusual to not have ldconfig on debian, it comes with libc6
location of ldconfig is not in your path
do this
export PATH=$PATH:/sbin
dpkg -i whatever.deb
 

Marcin Kurc
CAD Systems Administrator
Cooper-Standard Automotive 

 

-Original Message-
From: Tuomo Karhu [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 02, 2002 11:57 AM
To: debian-user@lists.debian.org
Subject: what to install to get ldconfig..?


(#:/work) dpkg -i libc6_2.1.3-20.deb 
dpkg: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
 
( [EMAIL PROTECTED])(/dev/pts/4)(19:53:46)(Thu
  May  2)(6)(1)
(#:/work) locate ldconfig
doesn't find it.
 
So, what do i have to install to get ldconfig..
Sorry for being such a newbie.
 
Tuomo Karhu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what to install to get ldconfig..?

2002-05-02 Thread Roach, Mark R.
On Thu, 2002-05-02 at 11:57, Tuomo Karhu wrote:
> (#:/work) dpkg -i libc6_2.1.3-20.deb 
> dpkg: `ldconfig' not found on PATH.
> dpkg: 1 expected program(s) not found on PATH.
> NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
> /sbin.
>  
> ( [EMAIL PROTECTED])(/dev/pts/4)(19:53:46)(Thu
>   May  2)(6)(1)
> (#:/work) locate ldconfig
> doesn't find it.
>  
> So, what do i have to install to get ldconfig..
> Sorry for being such a newbie.

ldconfig should be under /sbin do you have sbin in your path? (echo
$PATH)

if not, try adding it.

BTW ldconfig is provided by libc6 :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]