public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] question about revdep-rebuild
@ 2005-07-10 13:18 Tamas Sarga
  2005-07-10 13:37 ` Renat Golubchyk
  2005-07-10 15:28 ` Mark Knecht
  0 siblings, 2 replies; 4+ messages in thread
From: Tamas Sarga @ 2005-07-10 13:18 UTC (permalink / raw
  To: gentoo-user

Hi,

I confused about revdep-rebuild. I thought that revdep-rebuild without
any parameter would investigate all of my bin, and a --soname parameter
will investigate just about this .so file.
Today I had done an emerge -uD world and openssh didn't work anymore. I
read the logs, which said do a revdep-rebuild --soname libcom_err.so.3.
The update did more library update, so I did revdep-rebuild without any
parameter, and it didn't show anything, but ssh didn't work. I did the
adviced revdep-rebuild --soname libcom_err.so.3 and it showed openssh.
My question is what exactly does revdep-rebuild without any parameter?
After reemerge of openssh the sun shines to me again.

TIA.
Cheers,
Tamas Sarga				Sárga Tamás
--
Make the world confused!		Zavard össze a világot!
Smile on monday morning!		Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] question about revdep-rebuild
  2005-07-10 13:18 [gentoo-user] question about revdep-rebuild Tamas Sarga
@ 2005-07-10 13:37 ` Renat Golubchyk
  2005-07-11  3:28   ` Ian Hastie
  2005-07-10 15:28 ` Mark Knecht
  1 sibling, 1 reply; 4+ messages in thread
From: Renat Golubchyk @ 2005-07-10 13:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

Hi!

On Sun, 10 Jul 2005 15:18:53 +0200 (CEST) Tamas Sarga
<tamas@wansite.homelinux.net> wrote:
> I confused about revdep-rebuild. I thought that revdep-rebuild without
> any parameter would investigate all of my bin, and a --soname
> parameter will investigate just about this .so file.

As I understand, just running revdep-rebuild without parameters will
search for binaries linked against now missing libraries. Running it
with a --soname looks for binaries linked against existing libraries,
but whose version is now different. So they do different things.

Hope it helps.
Cheers,
Renat

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] question about revdep-rebuild
  2005-07-10 13:18 [gentoo-user] question about revdep-rebuild Tamas Sarga
  2005-07-10 13:37 ` Renat Golubchyk
@ 2005-07-10 15:28 ` Mark Knecht
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2005-07-10 15:28 UTC (permalink / raw
  To: gentoo-user

On 7/10/05, Tamas Sarga <tamas@wansite.homelinux.net> wrote:
> Hi,
> 
> I confused about revdep-rebuild. I thought that revdep-rebuild without
> any parameter would investigate all of my bin, and a --soname parameter
> will investigate just about this .so file.

revdep-rebuild -p   will investigate
revdep-rebuild   will take action

Run with -p first to be safe.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] question about revdep-rebuild
  2005-07-10 13:37 ` Renat Golubchyk
@ 2005-07-11  3:28   ` Ian Hastie
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Hastie @ 2005-07-11  3:28 UTC (permalink / raw
  To: gentoo-user

On Sun, 10 Jul 2005 15:37:06 +0200
Renat Golubchyk <ragermany@gmx.net> wrote:

> Hi!
> 
> On Sun, 10 Jul 2005 15:18:53 +0200 (CEST) Tamas Sarga
> <tamas@wansite.homelinux.net> wrote:
> > I confused about revdep-rebuild. I thought that revdep-rebuild
> > without any parameter would investigate all of my bin, and a
> > --soname parameter will investigate just about this .so file.
> 
> As I understand, just running revdep-rebuild without parameters will
> search for binaries linked against now missing libraries.

It uses the output of ldd to determine if a file has broken dynamic
linkage dependencies.  If it does the owning package will be rebuilt.

> Running it
> with a --soname looks for binaries linked against existing libraries,
> but whose version is now different. So they do different things.

Again it uses ldd, but this time to check the sonames of the libraries
that the file is dynamically linked to.  If the given soname is found
then the owning package is rebuilt.  This will happen even if ldd would
have shown the dynamic link as being OK.

-- 
Ian.

EOM
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-11  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-10 13:18 [gentoo-user] question about revdep-rebuild Tamas Sarga
2005-07-10 13:37 ` Renat Golubchyk
2005-07-11  3:28   ` Ian Hastie
2005-07-10 15:28 ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox