LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-12-2013, 04:52 AM   #1
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
[BUG] slackware-current, xfce4-terminal needs rebuild with libxcb-util.so.1


xfce4-terminal in slackware-current needs rebuild with new libxcb-util.so.1 instead of libxcb-util.so.0 after upgrading to xcb-utils-0.3.9.
 
Old 09-12-2013, 05:46 AM   #2
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu, PartedMagic
Posts: 72

Rep: Reputation: 7
I had the same problem with caja (mate's "nautilus"). I worked around the problem by copying the libxcb-util.so.0 from before the xcb-util upgrade. The attached package (rename .txt to .txz) provides the library for 32 and 64 bit.
Attached Files
File Type: txt libxcb-util-1.9-x3264-140C.txt (11.0 KB, 19 views)
 
Old 09-12-2013, 06:12 AM   #3
stereo
LQ Newbie
 
Registered: Aug 2012
Location: Serbia
Distribution: Slackware
Posts: 13

Rep: Reputation: Disabled
Just to report, I have the same problem. And I can't use xfce, fluxbox or twm neither with my user account nor with root account. I tried with new user account "test" and the results are the same.
 
Old 09-12-2013, 06:26 AM   #4
zeroberto
Member
 
Registered: Aug 2008
Location: Serbia
Distribution: Slackware-current
Posts: 39

Rep: Reputation: 1
Quote:
Originally Posted by burdi01 View Post
I had the same problem with caja (mate's "nautilus"). I worked around the problem by copying the libxcb-util.so.0 from before the xcb-util upgrade. The attached package (rename .txt to .txz) provides the library for 32 and 64 bit.
I had the same problem with Mate. You need to rebuild only three package and it should work.
http://slackblogs.blogspot.com/2013/...-some-msb.html
 
Old 09-12-2013, 06:26 AM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Slackware64-current (Mon Sep 9 03:34:59 UTC 2013)
Code:
gazl@ws1:~$ readelf -d /usr/bin/xfce4-terminal | grep -i needed
 0x0000000000000001 (NEEDED)             Shared library: [libvte.so.9]
 0x0000000000000001 (NEEDED)             Shared library: [libxfce4ui-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgtk-x11-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxfce4util.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgdk-x11-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libatk-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgio-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpango-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
gazl@ws1:~$ ldd /usr/bin/xfce4-terminal | grep -i xcb
        libxcb.so.1 => /usr/lib64/../lib64/libxcb.so.1 (0x00007f68aa699000)
        libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f68a736f000)
        libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f68a7165000)
        libxcb-util.so.1 => /usr/lib64/libxcb-util.so.1 (0x00007f68a6b45000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f68a6944000)
gazl@ws1:~$
I didn't notice a problem when I was using 'terminal' last night.
 
Old 09-12-2013, 06:29 AM   #6
Toutatis
Member
 
Registered: Feb 2013
Posts: 31

Rep: Reputation: Disabled
My own xfce4-terminal gives with ldd

libxcb-util.so.1 => /usr/lib64/libxcb-util.so.1 (0x00007f00441e0000)
 
Old 09-12-2013, 06:32 AM   #7
stereo
LQ Newbie
 
Registered: Aug 2012
Location: Serbia
Distribution: Slackware
Posts: 13

Rep: Reputation: Disabled
When I do startx, it starts xfce and fluxbox but I can't do anything. My mouse does not react, my keyboard doesn't react. I kill X over ssh to get console tty.
 
Old 09-12-2013, 06:35 AM   #8
bormant
Member
 
Registered: Jan 2008
Posts: 100

Original Poster
Rep: Reputation: 47
Simple rebuild was fine:
Code:
# wget -r -nH --cut-dirs=4 ftp://ftp.osuosl.org/pub/slackware/slackware-current/source/xfce/xfce4-terminal
# cd xfce/xfce4-terminal
# BUILD=1b bash *Build
# upgradepkg --reinstall /tmp/xfce4-terminal-*t?z
# rm -rf /tmp/package-xfce4-terminal /tmp/xfce4-terminal-*/

# ldd $(which xfce4-terminal) | grep libxcb-util
        libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0xb4df5000)
 
Old 09-12-2013, 09:54 AM   #9
stereo
LQ Newbie
 
Registered: Aug 2012
Location: Serbia
Distribution: Slackware
Posts: 13

Rep: Reputation: Disabled
I solved my problem. I didn't upgrade xorg before. After xorg update, reinstalled amd driver and it is working.
 
Old 09-12-2013, 10:20 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by burdi01 View Post
I had the same problem with caja (mate's "nautilus"). I worked around the problem by copying the libxcb-util.so.0 from before the xcb-util upgrade. The attached package (rename .txt to .txz) provides the library for 32 and 64 bit.
That's not the proper way to solve this problem as you might forgot about this someday...
a simple rebuild of mate-file-manager should solve this
Even better, you should rebuild mate-image-viewer and mate-control-panel as well as mentioned on my blog post
 
Old 09-12-2013, 11:25 AM   #11
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu, PartedMagic
Posts: 72

Rep: Reputation: 7
@willysr:
Quote:
That's not the proper way to solve this problem as you might forgot about this someday...
Well, I keep records ...

Actually I run mate-{document-viewer,file-archiver,file-manager,text-editor} - plus some dependencies - from http://repo.mate-desktop.org/slackware/ on a Slackware/Salix XFCE installation. So recompiling is not the first thing I would do.
 
Old 09-12-2013, 11:47 AM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Are you using -Current or -Stable releases?
Since the xcb-util update won't hit -Stable releases, so i assume you are using -Current
the binaries are made for Slackware-14.0 (-Stable), not for -Current
Current users are advised to use the GIT repo and build it by themselves (which can be done in less than 30 minutes for all packages in MSB)
 
Old 09-12-2013, 11:55 AM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I can also confirm that xfce4-terminal is already looking at the correct version of xcb-util:
Code:
willysr@desktop:~$ ldd /usr/bin/xfce4-terminal | grep xcb
        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb6a7c000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb6a7a000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb6a71000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb664b000)
        libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0xb4e21000)
 
Old 09-13-2013, 04:35 AM   #14
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu, PartedMagic
Posts: 72

Rep: Reputation: 7
Quote:
the binaries are made for Slackware-14.0 (-Stable), not for -Current
Yes, I am running Current.

IMHO you overestimate the Stable versus Current issue. For as far as I am aware a DLL/dependency-hell does not exist (nowadays?).

The first workaround tool is the LD_LIBRARY_PATH environment variable. E.g. by prepending a directory with some "old" libraries I succeeded in keeping an own-compiled KDE 3.5.10 alive for more than two years. And with the same trick I was able to use the Trinity 3.5.13 binaries from Fedora on Slackware.

The second workaround tool is the library versioning which in many (all?) cases enables us to keep an old version. Take for instance the libxcb-util library this thread is about:
Code:
root@riposo:~/works# ls -l /usr/lib64/libxcb-u*
-rwxr-xr-x 1 root root  1008 Sep  7 22:35 /usr/lib64/libxcb-util.la*
lrwxrwxrwx 1 root root    20 Sep  9 15:52 /usr/lib64/libxcb-util.so -> libxcb-util.so.1.0.0*
lrwxrwxrwx 1 root root    20 Sep  9 17:41 /usr/lib64/libxcb-util.so.0 -> libxcb-util.so.0.0.0*
-rwxr-xr-x 1 root root 24640 May  4  2012 /usr/lib64/libxcb-util.so.0.0.0*
lrwxrwxrwx 1 root root    20 Sep  9 15:52 /usr/lib64/libxcb-util.so.1 -> libxcb-util.so.1.0.0*
-rwxr-xr-x 1 root root 20528 Sep  7 22:35 /usr/lib64/libxcb-util.so.1.0.0*
root@riposo:~/works#
The Sep 7 files are for the new version 1, the May 4 2012 file(s) are for the old version 0 I copied in. The .la points to version 1, so newly linked programs will link against version 1. And an old program still using version 0 will still find that version. Most of the time this workaround is temporary, so some record-keeping is appropriate.
 
Old 09-13-2013, 05:54 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
as i said before, it works for temporary solution, but for long term, you will have an unmanaged system since it was like a patched system without a proper patch.

A simple rebuild will not kill your system, especially in MATE case, since only small part of the packages that requires rebuilding
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing libxcb-aux.la in current longus Slackware 2 07-11-2012 03:31 AM
Xfce4 not supported URL's - Slackware Current ha5di Slackware 3 10-06-2008 12:22 AM
xorg-x11-libxcb Java fix for BOINC etc.... Found Bug fixed but where do I get it rundarm Fedora 4 12-10-2007 04:10 PM
Slackware Current-xfce4-compiz davimint Linux - Software 1 05-01-2007 08:44 PM
bug in KDE 3.5.2 (slackware current) perfect_circle Slackware 3 04-19-2006 04:22 PM


All times are GMT -5. The time now is 10:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration