lkml.org 
[lkml]   [1996]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ldconfig won't update libraries

On Thu, 7 Nov 1996, Damm wrote:

> Date: Thu, 7 Nov 1996 15:52:32 -0500 (EST)
> From: Damm <Slikens@cris.com>
> To: Rick Cook <cook@vs.lmco.com>
> Cc: linux-kernel@vger.rutgers.edu
> Subject: Re: ldconfig won't update libraries
>
> >
> > # /sbin/ldconfig
> > /sbin/ldconfig: warning: can't unlink /usr/X11R6/lib/ (Operation not permitted)
> > /sbin/ldconfig: warning: can't unlink /usr/i486-linux/lib/ (Operation not
> > permitted)
> > /sbin/ldconfig: version 1.7.3
> > #
> >
> > X applications then complain about:
> >
>
> ldconfig cannot be run as non-root user
> Operatiion not permitted is normally because a non super user is trying to
> run ldconfig

If you'll note the text above carefully, you'll note ldconfig is trying to
unlic directories. This is becuase the older libraries (and ldconfig) had
a different way of recording the "soname" (Which I have deduced is an
itnernal "name" of a library, irrelevant of what its filename is, that is
used for making the symlink). "version 1.7.3" is the older version, and he
is trying to isntall newer libraries.

I know what is causing this becuase I've had it happen myself. version
1.7.14 of ld.so (and ldconfig) properly recognize the new sonames (and
apparently the old ones as well).

It does however, appear that version 1.8.3 recognizes only the new names,
and goes on trying to unlink directories (unsuccessfuly) when it tries to
process the old libraries.



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.076 / U:2.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site