Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Stretch need new "libxcb-util.so.1" how to do it?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
hihu
Posts: 13
Joined: 2017-09-22 07:26

Debian Stretch need new "libxcb-util.so.1" how to do it?

#1 Post by hihu »

Hello I would like to run a program and according to the dependencies (checked with ldd command) it needs this library (libxcb-util.so.1) but Debian only offers libxcb-util.so.0 according to the package sources

https://packages.debian.org/search?sear ... s=xcb-util

it's only 0.3.8-3 version.

yesterday I found a website (don't find it anymore) which lists the versions of libraries across different distributions. And it seems that Debian has (with just a few others) the older version.

I need the version 0.4.x something of this package. How can I install this?

Can I download it from there and compile it?

http://www.linuxfromscratch.org/blfs/vi ... -util.html

Or what is the best solution to do this?

Thank you very much for some help:)

PS: sorry if the question is easy but I have no idea where to start.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#2 Post by Segfault »

I'd compile it, build a deb package and install this deb package as usual. Hopefully 0.4.x is backwards compatible so nothing breaks.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#3 Post by stevepusser »

If this program is open source, it may also be possible to rebuild it on Stretch so that it becomes compatible (backporting). That is, it would depend on the libraries available in Stretch instead of some other distrelease.
MX Linux packager and developer

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#4 Post by Bloom »

.so.1 and .so.0 are no versions but simply different files. I the .1 file is missing, simply create a softlink to .1 from .0 in the library's directory and your program will find it and be able to use it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#5 Post by stevepusser »

Bloom wrote:.so.1 and .so.0 are no versions but simply different files. I the .1 file is missing, simply create a softlink to .1 from .0 in the library's directory and your program will find it and be able to use it.
Are you certain of this? I've seen many examples that contradict your statement. Debian is quite aware of "sobumps", as they are called.
MX Linux packager and developer

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#6 Post by Bloom »

It was a simplified explanation. Using a softlink works, I've used it before.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#7 Post by Head_on_a_Stick »

Bloom wrote:Using a softlink works, I've used it before.
That it has worked for the few programs you have tried is luck alone.

The programs are linked to specific library versions during compilation and if you "fool" the program by providing a "fake" library in the form of a symlink to another version then the program will only work if it makes no demands that the non-standard library version cannot provide and clearly that is not always going to be the case.

Recompiling the program in the intended environment so that it links to the available library versions is the correct approach.
deadbang

krans
Posts: 6
Joined: 2017-08-17 06:28

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#8 Post by krans »

hihu wrote: I need the version 0.4.x something of this package. How can I install this?
I don't know if you're also concerned about your future with u-he plugins, as I am, but I'd also really like to find a way of updpating xcb-utils to 0.4.x.
This list confirms that even Debian Testing (and Unstable) are still in the 0.3s: https://packages.debian.org/source/xcb-util

Searching for a solution, I did actually stumble upon this repo, apparently a Debian amd64 repo with xcb-utils 0.4.0 in it: http://files.venture37.com/pkgsrc/packa ... amd64/All/
But, as I easily mess things up, and also chose Debian Stable because of. . . well, stability, I don't really dare to do anything with it.

Did you come any further?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#9 Post by stevepusser »

So, just rebuild deb packages from the Ubuntu source files. It should be quite straightforward.

https://packages.ubuntu.com/artful/libxcb-util1

Are you prevented from telling us the name of this mystery program that was built on Ubuntu? It's quite frustrating...I've already asked, to no response.
MX Linux packager and developer

krans
Posts: 6
Joined: 2017-08-17 06:28

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#10 Post by krans »

stevepusser wrote:So, just rebuild deb packages from the Ubuntu source files. It should be quite straightforward.

https://packages.ubuntu.com/artful/libxcb-util1
Ah, thanks!
I'll try it carefully.
stevepusser wrote:Are you prevented from telling us the name of this mystery program that was built on Ubuntu? It's quite frustrating...I've already asked, to no response.
The software in question is the audio plugins (synths, compressor ++) from German developer u-he ( http://u-he.com ).
Not only do they make maybe the finest audio software there is (at least that I've come across), they also port it to Linux. Which is lovely!
(you can find it here: http://www.kvraudio.com/forum/viewtopic ... 818237addd ).
High end proprietary audio software that works great with all the super FLOSS audio software.

But, as you understand, from here on the new and updated plugins will require xcb-utils 0.4.x, which makes life a bit trickier for us Debian users.
The whole discussion is found here: http://www.kvraudio.com/forum/viewtopic ... &start=115

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#11 Post by stevepusser »

OK, so obviously they only build Ubuntu versions. There's no guarantee that it will work on Debian, even after the porting. But it can't hurt to try.

Are you familiar with rebuilding packages from "debianized" source? It's not too difficult once you grasp the basic concepts.
MX Linux packager and developer

krans
Posts: 6
Joined: 2017-08-17 06:28

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#12 Post by krans »

stevepusser wrote:Are you familiar with rebuilding packages from "debianized" source? It's not too difficult once you grasp the basic concepts.
No, I'm not. And I'd love to learn!
And how do you know whether it'll mess up the Debian system or not?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#13 Post by stevepusser »

As for messing up the system, usually building it on Debian solves that. I also scan over the debian/control file to make sure any manual dependencies don't break anything.

I've been tied up with kernels on MX Linux since the newer vulnerablilites news broke. Backporting upstream Debian's 4.14.12 kernel was...challenging for a non-coder like me. I'll try rebuilding the the newer libxcb-util from Ubuntu on Stretch on the openSUSE Build Service, which is a very nice, free way to build and host packages in the cloud.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#14 Post by stevepusser »

Here's the OBS repo instructions: https://software.opensuse.org//download ... bxcb-util1

Though if all you need is the libxcb-util1 package, you can also just grab the package directly and install it.
MX Linux packager and developer

krans
Posts: 6
Joined: 2017-08-17 06:28

Re: Debian Stretch need new "libxcb-util.so.1" how to do it?

#15 Post by krans »

stevepusser wrote:Here's the OBS repo instructions: https://software.opensuse.org//download ... bxcb-util1

Though if all you need is the libxcb-util1 package, you can also just grab the package directly and install it.
Are you kidding? :lol:
You have just been the most helpful person on the internet ever!
Thank you so very much! I'm amazed.
Especially as it seems you don't even need this yourself. Well, I take my hat off.

You may be a non-coder, but I must say you have pretty good skills anyway.
Thanks again!

Post Reply