LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2018, 12:27 AM   #1
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
libxcb-xlib.la torturing me


i have dozens of linux distros on my machine. my main one is super old. i am using the last version of X11R6 on it. i have hundreds of times tried to upgrade it over the past 15 years. i can move all kinds of crap out of the way, trying to get a new X version compiled, but stuff like pixman, always seems to know that i used to have /usr/X11R6/lib/libxcb-xlib.la there, while currently hidden. does anyone know what all i need to rebuild to get rid of all references to that thing. i can completely delete /usr/X11R6 and try building xorg from scratch, but there's always crap looking for /usr/X11R6/lib/libxcb-xlib.la . the amount of scripts, builds, versions of software and other wonderful stuff in this super old distribution would take me months or years to recreate. that why i still use it. don't forget i have dozens of perfectly functional distributions on this machine. please! none of the "quit using that old crap and upgrade". i've got tons of modern stuff here.
 
Old 08-18-2018, 04:04 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
That's a static lib. Have we static builds in here?

It's certainly easiest to upgrade, and if you don't, you will be presented with conflicts like this, and at a certain stage it becomes difficult/impossible.

You can run one or more versions of X. Have you tried compiling, say, like this
Code:
./configure --prefix=/opt
ans you'll get /opt/X11R6
 
Old 08-18-2018, 11:27 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Original Poster
Rep: Reputation: 65
yes. i have versions i've tried to build all over the place. i'm saying that when i hide the working X11R6, by deleting all of it, removing references in the path, changing the pkgconfig path, removing it from /etc/ld.so.conf, and running ldconfig, during an Xorg build, it fails complaining about not being able to find /usr/X11R6/lib/libxcb-xlib.la. if i restore just that file in /usr/X11R6/lib/libxcb-xlib.la, then i get the undefined function xcb lock something. maybe if i just grep every file on the system, i can find all the references, and rebuild all of that.
 
Old 08-18-2018, 11:46 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Original Poster
Rep: Reputation: 65
apparently it's in a lot more places than i thought. this is only a partial.
i wouldn't have thought grep would do it for me.


Code:
/usr/lib# grep -srl libxcb-xlib.la *
X11/xdm/libXdmGreet.la
gdk-pixbuf/loaders/libpixbufloader-jpeg.la
gdk-pixbuf/loaders/libpixbufloader-bmp.la
gdk-pixbuf/loaders/libpixbufloader-gif.la
gdk-pixbuf/loaders/libpixbufloader-ico.la
gdk-pixbuf/loaders/libpixbufloader-png.la
gdk-pixbuf/loaders/libpixbufloader-pnm.la
gdk-pixbuf/loaders/libpixbufloader-ras.la
gdk-pixbuf/loaders/libpixbufloader-xbm.la
gdk-pixbuf/loaders/libpixbufloader-tiff.la
gdk-pixbuf/loaders/libpixbufloader-xpm.la
gedit-2/plugin-loaders/libcloader.la
gedit-2/plugins/libsort.la
gedit-2/plugins/libtime.la
gedit-2/plugins/libchangecase.la
gedit-2/plugins/libfilebrowser.la
gedit-2/plugins/libmodelines.la
gedit-2/plugins/libtaglist.la
gedit-2/plugins/libdocinfo.la
gstreamer-0.10/libgstpango.la
gstreamer-0.10/libgstximagesink.la
gstreamer-0.10/libgstxvimagesink.la
gstreamer-1.0/libgstopengl.la
gstreamer-1.0/libgstpango.la
gstreamer-1.0/libgstximagesink.la
gstreamer-1.0/libgstrfbsrc.la
gstreamer-1.0/libgstxvimagesink.la
gtk-2.0/modules/libferret.la
gtk-2.0/modules/libgail.la
gtk-2.0/2.10.0/engines/libpixmap.la
gtk-2.0/2.10.0/immodules/im-ipa.la
gtk-2.0/2.10.0/immodules/im-am-et.la
gtk-2.0/2.10.0/immodules/im-xim.la
gtk-2.0/2.10.0/immodules/im-multipress.la
gtk-2.0/2.10.0/immodules/im-thai.la
gtk-2.0/2.10.0/immodules/im-cedilla.la
gtk-2.0/2.10.0/immodules/im-inuktitut.la
gtk-2.0/2.10.0/immodules/im-viqr.la
gtk-2.0/2.10.0/immodules/im-ti-er.la
gtk-2.0/2.10.0/immodules/im-ti-et.la
gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la
gtk-2.0/2.10.0/printbackends/libprintbackend-cups.la
gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.la
gtk-2.0/2.10.0/printbackends/libprintbackend-file.la
gtk-3.0/3.0.0/immodules/im-ipa.la
gtk-3.0/3.0.0/immodules/im-am-et.la
gtk-3.0/3.0.0/immodules/im-xim.la
gtk-3.0/3.0.0/immodules/im-multipress.la
gtk-3.0/3.0.0/immodules/im-thai.la
gtk-3.0/3.0.0/immodules/im-cedilla.la
gtk-3.0/3.0.0/immodules/im-inuktitut.la
gtk-3.0/3.0.0/immodules/im-viqr.la
gtk-3.0/3.0.0/immodules/im-ti-er.la
gtk-3.0/3.0.0/immodules/im-ti-et.la
gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la
gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la
gtk-3.0/3.0.0/printbackends/libprintbackend-lpr.la
gtk-3.0/3.0.0/printbackends/libprintbackend-file.la
libImlib.la
libXi.la
libbonoboui-2.la
libcairo-gobject.la
 
Old 08-18-2018, 02:12 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
It's in other static libs. LFS & BLFS commonly have things like --disable-static --enable-shared in the configure options, and commonly delete the *.la files, and the sky doesn't fall in. They seem to be a hangover from non-gpl unixes (Is that the correct plural?) where source is not available, so the .la files are included for compatibility.

In short, all those .la files might do little or nothing. The --disable-static --enable-shared might sort it for you. I'm open to correction here, so see if I'm corrected because I don't rate myself as a programmer.
 
Old 08-18-2018, 04:56 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Original Poster
Rep: Reputation: 65
after hiding all those .la files that grep listed, i managed to get a new Xorg built and installed without any libxcb-xlib.la references. after going through a bunch of glib cairo gtk and other stuff builds, a few things were complaining about libxcb-xlib.so. i did a new grep and and maybe 100 files had refs to that libxcb-xlib.so. i hid all those and spent my entire afternoon rebuilding libs, programs, and searching google for build problems. i wanted the new Xorg not for using so much as for building modern software against it. several packages in Xorg's build.sh failed, and i had to go find other versions until i could find one that would work. anyway, the new X works, but i can't get window managers to build with it except for the twm. i just unhid my old Xfree and it's working fine too. here is part of a past mess in my /usr.
61068 X-2017.tar.zst
0 X11R6
57600 X11R6.both.tar.xz
49108 X11R6.goodly.tar.xz
46353 X11R6.tar.xz
47779 X11R6.using.tar.xz
46125 X11R6.v48.tar.xz
48259 X11R6.v72.pure.tar.xz
47755 X11R6.v73.tar.xz
49072 X11R6.v73.up.tar.xz
46145 X11R6.v74.tar.xz
49208 X11R6.v74.up.tar.xz
0 X2.hide
0 Xorg
33305 Xorg.tar.zst

this partition has more cruft than stuff that works.
 
  


Reply



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
LXer: Torturing Tech Support Phone Scammers With Linux LXer Syndicated Linux News 0 01-05-2017 08:45 AM
[Xlib/motif] Xlib: sequence lost in reply type tentoni Programming 2 01-10-2014 12:18 PM
Cinelerra on 12.1 - libXCB erickFis Slackware 0 06-09-2008 01:23 PM
libxcb-xlib.so.0 and Beryl davidguygc Slackware 3 05-06-2007 10:49 AM
Xlib Libxcb Lenny Opera chas Debian 0 05-05-2007 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration