Mailinglist Archive: opensuse-packaging (83 mails)

< Previous Next >
Re: [opensuse-packaging] RPM bug when updating or something I should know?
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 8 Oct 2008 13:51:08 +0200
  • Message-id: <20081008115108.GA1469@xxxxxxx>
On Wed, Oct 08, 2008 at 01:46:09PM +0200, Michael Matz wrote:
On Fri, 3 Oct 2008, Christian Morales Vega wrote:

....L... /usr/lib/libcaca.so.0
....L... /usr/lib/libcucul.so.0

$ rpm -qvl libcaca0
lrwxrwxrwx 1 root root 18 sep 30 21:26
/usr/lib/libcaca.so.0 -> libcaca.so.0.99.15
lrwxrwxrwx 1 root root 12 sep 30 21:26
/usr/lib/libcucul.so.0 -> libcaca.so.0
$ l /usr/lib/libc[au]c*
lrwxrwxrwx 1 root root 13 oct 3 01:31 /usr/lib/libcaca.so.0 ->
libcucul.so.0
-rwxr-xr-x 1 root root 675948 sep 30 21:26 /usr/lib/libcaca.so.0.99.15*
lrwxrwxrwx 1 root root 19 oct 3 01:31 /usr/lib/libcucul.so.0 ->
libcucul.so.0.99.14

That's even a broken link (libcucul.so.0.99.14 doesn't exist). I think
that's pretty clearly an RPM bug. The generated files don't match what's
in the rpm.

Hmm, or (just maybe) it might be ldconfig breaking this. E.g. rpm
installing the files and softlinks just fine, but then ldconfig (perhaps
mislead by wrong SONAMEs in the DSOs) generates wrong targets? On
reflection this can't really happen, but something to try. Perhaps an
strace of rpm while updating this package reveals something interesting.

My experience is that it's ldconfig medling with the library links.
I doubt that it's a rpm bug.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups