Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
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
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.