You are not logged in.

#1 2009-02-02 07:17:04

nfm
Member
Registered: 2008-06-13
Posts: 66

Git Xorg: libxcb-xlib.so.0: undefined symbol: _xcb_lock_io

Hi guys,
I recently installed latest git xserver-xorg, besides that I had to compile 51 other required dependencies including mesa, libx11, drm etc. One problem is that git libxcb removed libxcb-xlib and made them an inline functions upstream http://cgit.freedesktop.org/xcb/libxcb/ … 89495f3452. Lots of programs complain about "/usr/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io" which now in new library path does not exist! Also programs such as gnome-settings-daemon is linked against libxcb-xlib.so.0 so I get no themed DE. Other than that everything works great with nvidia 180.27 driver, I yet still have to see what's new about the git X tongue.

Offline

#2 2009-02-02 08:47:00

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Git Xorg: libxcb-xlib.so.0: undefined symbol: _xcb_lock_io

Try this, works for me:

pkgname=libxcb
pkgver=1.1.93
pkgrel=1
pkgdesc="X11 client-side library"
arch=(i686 x86_64)
url="http://xcb.freedesktop.org/"
depends=('xcb-proto>=1.3' 'libxdmcp' 'libxau')
makedepends=('pkgconfig' 'libxslt' 'python')
options=('!libtool')
license=('custom')
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
md5sums=()

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  libtoolize --force --copy || return 1
  aclocal || return 1
  autoconf || return 1
  automake --add-missing || return 1
  ./configure --prefix=/usr --enable-xinput || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}

Offline

#3 2009-02-02 20:49:07

nfm
Member
Registered: 2008-06-13
Posts: 66

Re: Git Xorg: libxcb-xlib.so.0: undefined symbol: _xcb_lock_io

Hi, what does:

pacman -Ql libxcb | grep -i 'xlib'

report? I'm building from git here, I also tried 1.1.93 tar version with no avail.

Edit: Ok cool, I solved the problem, I had export to LD_LIBRARY_PATH instead of using /etc/ld.so.conf.

Last edited by nfm (2009-02-02 21:20:07)

Offline

#4 2009-02-24 09:51:16

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

Re: Git Xorg: libxcb-xlib.so.0: undefined symbol: _xcb_lock_io

I'm having a similar problem with the new libxcb package. Version 1.1.90 worked, but 1.1.93 and later doesn't.

pacman -Ql libxcb | grep -i 'xlib'

for version 1.1.90 gives:
libxcb /usr/include/xcb/xcbxlib.h
libxcb /usr/lib/libxcb-xlib.a
libxcb /usr/lib/libxcb-xlib.so
libxcb /usr/lib/libxcb-xlib.so.0
libxcb /usr/lib/libxcb-xlib.so.0.0.0
libxcb /usr/lib/pkgconfig/xcb-xlib.pc
libxcb /usr/share/doc/libxcb/manual/xcbxlib_8h-source.html

with newer versions it gives nothing.

I tried to set LD_LIBRARY_PATH to /var/lib, but that doesn't solve the problem with applications complaining about libxcb-xlib.so.0 missing.

Thank for your help.

Kind regards,
Daan

Offline

Board footer

Powered by FluxBB