You are not logged in.

#1 2009-03-03 10:37:44

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 82

-Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

Hi you all,

a few weeks ago, when the libxcb was updated from 1.1.90 to 1.1.93 my system was messed up.
I accidently ran "pacman -Suy" from within X. It upgraded libxcb and a few other libs. After completion the X session behaved strange, so I rebooted. Then I couldn't start X anymore, xinit said:
xinit: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
not even vim from the console worked:
vim: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory

Apparently the system still depends on the old libxcb-xlib, that doesn't exist in the newer libxcb anymore.

So I downgraded the libxcb to version 1.1.90, with "pacman -Rd libxcb" and "pacman -U /var/cache/pacman/pkg/libxcb.1.1.90-.... Problem gone.
I reinstalled (first downgraded, then upgraded again) all packages that depend on libxcb >1.1.90, but that didn't help.
I reinstalled xorg-server (together with catalyst), but that didn't help too.

A few days later another new version 1.2.1 came out, but the same problem occurs there.

I hoped others would find the same problem, but I havn't found any posts on this matter yet.

I am not too acquainted with libraries and their inconsistencies, can you please help me?
How can I proceed to find the root of the problem?

Thanks!
Daan

Offline

#2 2009-03-03 10:55:56

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: -Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

You should update libx11 to the latest version. I can only say one thing about this: you used pacman -Sd to get it installed, as I added conflicts in the newer versions of libxcb that don't ship libxcb-xlib.so anymore.

Offline

#3 2009-03-03 19:53:44

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 82

Re: -Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

Hi JGC!
Thanks for your quick reply. I tried reinstalling libx11, it did without problems, but the problem persists.
I am sure I just did a "-Suy" not a "-Sd"! The only problem I can think of is that I executed it from within X, and might have vim running (I don't recall).
I checked my pacman.log and manually reinstalled "pacman -S" all packages that were installed that time, didn't help :-(

This is my log, from the time it went wrong:
[2009-02-19 11:50] synchronizing package lists
[2009-02-19 11:50] starting full system upgrade
[2009-02-19 11:53] upgraded dnsutils (9.5.0.P2-1 -> 9.6.0.P1-1)
[2009-02-19 11:53] upgraded libtasn1 (1.7-1 -> 1.8-1)
[2009-02-19 11:53] upgraded gnutls (2.6.3-1 -> 2.6.4-1)
[2009-02-19 11:53] upgraded xcb-proto (1.2-2 -> 1.3-1)
[2009-02-19 11:53] upgraded libxcb (1.1.90.1-1 -> 1.1.93-1)
[2009-02-19 11:53] upgraded libx11 (1.1.5-2 -> 1.1.99.2-2)
[2009-02-19 11:53] upgraded inputproto (1.4.4-1 -> 1.5.0-1)
[2009-02-19 11:53] upgraded xextproto (7.0.4-1 -> 7.0.5-1)
[2009-02-19 11:53] upgraded libxext (1.0.4-1 -> 1.0.5-1)
[2009-02-19 11:53] upgraded ghostscript (8.64-1 -> 8.64-2)
[2009-02-19 11:53] upgraded hdparm (9.6-1 -> 9.10-1)
[2009-02-19 11:53] >>> Updating module dependencies. Please wait ...
[2009-02-19 11:53] >>> MKINITCPIO SETUP
[2009-02-19 11:53] >>> ----------------
[2009-02-19 11:53] >>> If you use LVM2, Encrypted root or software RAID,
[2009-02-19 11:53] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2009-02-19 11:53] >>> More information about mkinitcpio setup can be found here:
[2009-02-19 11:53] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2009-02-19 11:53]
[2009-02-19 11:53] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2009-02-19 11:53] ==> Building image "default"
[2009-02-19 11:53] ==> Running command: /sbin/mkinitcpio -k 2.6.28-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2009-02-19 11:53] :: Begin dry run
[2009-02-19 11:53] :: Parsing hook [base]
[2009-02-19 11:53] :: Parsing hook [udev]
[2009-02-19 11:53] :: Parsing hook [autodetect]
[2009-02-19 11:53] :: Parsing hook [pata]
[2009-02-19 11:53] :: Parsing hook [scsi]
[2009-02-19 11:54] :: Parsing hook [sata]
[2009-02-19 11:54] :: Parsing hook [keymap]
[2009-02-19 11:54] :: Parsing hook [filesystems]
[2009-02-19 11:54] :: Generating module dependencies
[2009-02-19 11:54] :: Generating image '/boot/kernel26.img'...SUCCESS
[2009-02-19 11:54] ==> SUCCESS
[2009-02-19 11:54] ==> Building image "fallback"
[2009-02-19 11:54] ==> Running command: /sbin/mkinitcpio -k 2.6.28-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2009-02-19 11:54] :: Begin dry run
[2009-02-19 11:54] :: Parsing hook [base]
[2009-02-19 11:54] :: Parsing hook [udev]
[2009-02-19 11:54] :: Parsing hook [pata]
[2009-02-19 11:54] :: Parsing hook [scsi]
[2009-02-19 11:54] :: Parsing hook [sata]
[2009-02-19 11:54] :: Parsing hook [keymap]
[2009-02-19 11:54] :: Parsing hook [filesystems]
[2009-02-19 11:54] :: Generating module dependencies
[2009-02-19 11:54] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2009-02-19 11:54] ==> SUCCESS
[2009-02-19 11:54] upgraded kernel26 (2.6.28.4-1 -> 2.6.28.5-1)
[2009-02-19 11:54] upgraded libxml2 (2.7.2-1 -> 2.7.3-1)
[2009-02-19 11:54] upgraded libcroco (0.6.1-1 -> 0.6.2-1)
[2009-02-19 11:54] upgraded libdrm (2.3.1-2 -> 2.3.1-3)
[2009-02-19 11:54] upgraded libice (1.0.4-1 -> 1.0.5-1)
[2009-02-19 11:54] upgraded libmad (0.15.1b-2 -> 0.15.1b-3)
[2009-02-19 11:54] upgraded libvorbis (1.2.1rc1-1 -> 1.2.1rc1-2)
[2009-02-19 11:54] upgraded libxi (1.1.4-1 -> 1.2.0-1)
[2009-02-19 11:54] upgraded man-pages (3.17-1 -> 3.18-1)
[2009-02-19 11:54] upgraded pciutils (3.0.3-1 -> 3.1.2-1)
[2009-02-19 11:54] upgraded pixman (0.12.0-1 -> 0.14.0-1)
[2009-02-19 11:54] upgraded pm-utils (1.2.3-4 -> 1.2.4-1)
[2009-02-19 11:54] upgraded ruby (1.8.7_p72-2 -> 1.8.7_p72-3)
[2009-02-19 11:54] upgraded tzdata (2009a-1 -> 2009b-1)
[2009-02-19 11:54] upgraded xcb-util (0.3.2-1 -> 0.3.3-1)
[2009-02-19 11:54] upgraded xf86-input-evdev (2.1.0-1 -> 2.1.2-1)
[2009-02-19 11:54] upgraded xf86-input-keyboard (1.3.1-1 -> 1.3.2-1)
[2009-02-19 11:54] upgraded xf86-input-synaptics (0.99.3-1 -> 1.0.0-1)
[2009-02-19 11:54] upgraded xfsprogs (2.10.2-1 -> 3.0.0-1)
[2009-02-19 11:54] upgraded xkeyboard-config (1.4-2 -> 1.5-1)
[2009-02-19 11:54] upgraded xorg-xinit (1.1.0-1 -> 1.1.1-1)
[2009-02-19 11:54] upgraded xterm (239-1 -> 241-1)

This I did to make it work again:
[2009-02-19 12:24] upgraded xcb-util (0.3.3-1 -> 0.3.2-1)
[2009-02-19 12:25] upgraded libxi (1.2.0-1 -> 1.1.4-1)
[2009-02-19 12:25] upgraded libxext (1.0.5-1 -> 1.0.4-1)
[2009-02-19 12:28] removed libx11 (1.1.99.2-2)
[2009-02-19 12:28] upgraded libxcb (1.1.93-1 -> 1.1.90.1-1)
[2009-02-19 12:28] installed libx11 (1.1.5-2)

For now, I just upgrade all with -Suy, try if the problem persists, and remove libxcb with -Rd and install with -U the old 1.1.90 version. Then the libx11 dependencies etc. might not be fulfilled, but it's easier than to roll back all depending packages.

What can I do to find out where it goes wrong?
Any workaround (reinstalling packages) would be great to, I just don't know where to start.

I appreciate your help!

Daan

Last edited by drrossum (2009-03-03 19:54:27)

Offline

#4 2009-03-03 20:37:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: -Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

drrossum wrote:

[2009-02-19 11:53] upgraded libx11 (1.1.5-2 -> 1.1.99.2-2)

The latest version of libx11 is 1.2-1.  It looks like you mirror may be out of sync.

Offline

#5 2009-03-03 22:47:45

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 82

Re: -Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

It's an old part of log. I installed the 1.2.1 as soon as it became available.

Last edited by drrossum (2009-03-04 09:48:57)

Offline

#6 2009-03-07 12:28:50

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 82

Re: -Suy: new libxcb (>1.1.90) probl: error while loading shared libraries

I think I solved the problem, though maybe not in a clean way. It'd be cool if you could help me with my last question about this.

As I knew no other way to handle this, I completely removed libx11 and all cascaded depending packages:
pacman -Rc libx11

It felt like using a hammer to kill a fly, but one has to start somewhere.
Now I wanted to start reinstalling stuff, but still something is very wrong! The first thing I tried was:
pacman -S libx11

that gave the following err:
error: failed to commit transaction (conflicting files)
libx11: /usr/lib/libX11.so.6 exists in filesystem

That file appeared to be a link to /usr/lib/libX11.so.6.2.0_radeon. pacman -Ql|grep radeon showed some kernel stuff, and then klibc and libdrm. So I reinstalled klibc and libdrm, but still these libX11.so.6.* files existed. So I moved them out of that dir, and the problem with installing libx11 was gone!

I just still wonder what package left this libX11.so.6.* in /usr/lib. And I also wonder why the libX11.so.6 link was automatically recreated when I removed it manually, every time again. That looks to me like on some place in the system this libX11.so.6.2.0_radeon is still registered.

Do you know why?

Thanks in advance!

Offline

Board footer

Powered by FluxBB