[arch-general] libxxx.so.yy not found
Hi all, Once i've upgraded some pkgs I have some errors that a program cannot start because a lib is not found. For example I need libkrb5.so.22 but: $ ls /usr/lib/libkrb5.so lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so -> libkrb5.so.25.0.0 lrwxrwxrwx 1 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.25 -> libkrb5.so.25.0.0 -rwxr-xr-x 1 root root 471594 2009-01-08 02:41 /usr/lib/libkrb5.so.25.0.0 So, I have the lib but a little bit newer. Making a link on libkrb5.so.25.0.0 solves the problem. At least it looks so. lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.22 -> libkrb5.so.25.0.0 I've done the same for some other libs (ut to 10... ) The question is simple, is it a way or i'll have my arch unworkable in the future? (i know about pacman -Syu ....) -- Thanks, Alex
On Mon, 2009-02-23 at 10:24 +0300, Alexey Ramodin wrote:
Hi all,
Once i've upgraded some pkgs I have some errors that a program cannot start because a lib is not found. For example I need libkrb5.so.22 but: $ ls /usr/lib/libkrb5.so
lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so -> libkrb5.so.25.0.0 lrwxrwxrwx 1 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.25 -> libkrb5.so.25.0.0 -rwxr-xr-x 1 root root 471594 2009-01-08 02:41 /usr/lib/libkrb5.so.25.0.0
So, I have the lib but a little bit newer.
Making a link on libkrb5.so.25.0.0 solves the problem. At least it looks so.
lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.22 -> libkrb5.so.25.0.0
I've done the same for some other libs (ut to 10... )
The question is simple, is it a way or i'll have my arch unworkable in the future?
(i know about pacman -Syu ....)
These sonames were bumped just because it's fun to do and break every system on each small package upgrade. Really, do you understand the real reasoning about soname versioning? This will break random applications on your system.
Jan de Groot wrote:
On Mon, 2009-02-23 at 10:24 +0300, Alexey Ramodin wrote:
Hi all,
Once i've upgraded some pkgs I have some errors that a program cannot start because a lib is not found. For example I need libkrb5.so.22 but: $ ls /usr/lib/libkrb5.so
lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so -> libkrb5.so.25.0.0 lrwxrwxrwx 1 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.25 -> libkrb5.so.25.0.0 -rwxr-xr-x 1 root root 471594 2009-01-08 02:41 /usr/lib/libkrb5.so.25.0.0
So, I have the lib but a little bit newer.
Making a link on libkrb5.so.25.0.0 solves the problem. At least it looks so.
lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.22 -> libkrb5.so.25.0.0
I've done the same for some other libs (ut to 10... )
The question is simple, is it a way or i'll have my arch unworkable in the future?
(i know about pacman -Syu ....)
These sonames were bumped just because it's fun to do and break every system on each small package upgrade.
Really, do you understand the real reasoning about soname versioning? This will break random applications on your system.
This should help you along... http://www.archlinux.org/static/newsletters/newsletter-2008-sep.html#contrib... Allan
Op Mon, 23 Feb 2009 10:24:49 +0300 schreef Alexey Ramodin <ramodin@ya.ru>:
Once i've upgraded some pkgs I have some errors that a program cannot start because a lib is not found. For example I need libkrb5.so.22 but: $ ls /usr/lib/libkrb5.so
lrwxrwxrwx 2 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so -> libkrb5.so.25.0.0 lrwxrwxrwx 1 root root 17 2009-01-08 02:40 /usr/lib/libkrb5.so.25 -> libkrb5.so.25.0.0 -rwxr-xr-x 1 root root 471594 2009-01-08 02:41 /usr/lib/libkrb5.so.25.0.0
So, I have the lib but a little bit newer.
Making a link on libkrb5.so.25.0.0 solves the problem. At least it looks so.
Symlinking is never the right thing to do, although it might help you in paching the problem. The real solution is to repackage the package that has those 'old' dependencies. You should be able to do that with ABS, and you might want to flag the package out-of-date or file a bugreport. Zl. -- Advocatenkantoor Suy, Van Baeveghem & Van Houtte Brusselsestraat 108 9200 Dendermonde T +32.52.52.06.05 F +32.52.52.06.46 W http://www.synergylaw.be
participants (4)
-
Alexey Ramodin
-
Allan McRae
-
Jan de Groot
-
Vincent Van Houtte