Xpra: Ticket #2568: dependency failures on RHEL 7.7

I did look through open tickets and saw some similar ones, but not addressing this exact issue. If there is a known workaround, feel free to close this with a reference.

Added the xpra.repo file to /etc/yum.repos.d and set the url to:

  https://xpra.org/dists/RedHat/$releasever/$basearch/

On install, I got the following dependency errors:

Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0()(64bit)
Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0(TURBOJPEG_1.2)(64bit)
Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0(TURBOJPEG_1.0)(64bit)

RHEL7.7 provides:

  libjpeg-turbo-1.2.90-8.el7.x86_64
  libjpeg-turbo-utils-1.2.90-8.el7.x86_64

which I have installed.

The libjpeg-turbo package installs:

  /usr/lib64/libjpeg.so.62
  /usr/lib64/libjpeg.so.62.1.0


Thu, 30 Jan 2020 08:43:51 GMT - Antoine Martin: owner, description changed

That's odd, the turbojpeg dependencies have not changed since r17388, 2 years ago. I did find r24346 and the r24347 backport but this only applies to python3 packages and therefore not relevant to centos7, so the installation should have pulled turbojpeg which does provide libturbojpeg.so.0.


Thu, 30 Jan 2020 15:27:55 GMT - Bill Randle:

RHEL 7.7 does not have a turbojpeg package - at least in the standard repo. They call it libjpeg-turbo instead, and that is installed, as I indicated above. Perhaps I need to find the CentOS 7 turbojpeg packages and install them to get libturbojpeg.so.0. P.S. Sorry for the lack of formatting in the original report.


Thu, 30 Jan 2020 15:43:52 GMT - Antoine Martin: owner, status changed

They call it libjpeg-turbo instead

No, that's a different thing: libjpeg-turbo != TurboJPEG

Perhaps I need to find the CentOS 7 turbojpeg packages and install them

Yes, installing turbojpeg should fix your installation problem.

I'll try to rebuild the turbojpeg package from centos and stick it in the repo.


Fri, 31 Jan 2020 15:49:27 GMT - Bill Randle:

That would be fantastic if you were able to include the TurboJPEG package(s) in the RedHat/7.7 repo.


Fri, 31 Jan 2020 17:01:04 GMT - Antoine Martin: status changed; resolution set

That would be fantastic if you were able to include the TurboJPEG package(s) in the RedHat?/7.7 repo.

As usual, this is more complicated than it seems: the version shipped in centos7 is a 3 year old beta version with lots of security patches on top. (see r25116) I'm not very comfortable publishing such a version in our repository. Normally, we would ship a newer stable version, but since this would update the system library on centos7 systems, it would run the risk of causing incompatibilities too... So I've added it to the repository, but I'm not happy with it because anyone running on RHEL instead of centos will need to rely on us for security updates to this library... Something I many not have time for when it is needed.


Sat, 01 Feb 2020 05:23:58 GMT - Bill Randle:

Thankyou for the help. Once you pointed out what to look for, I did some additional searching tonight and managed to find a prebuilt CentOS7 rpm: turbojpeg-1.2.90-8.el7.x86_64.rpm which I installed. After that, xpra installed cleanly with no errors.


Sun, 12 Apr 2020 14:43:11 GMT - Alex:

For the libjpeg-turbo el7 package version semantic issue (.el7_7 vs. .el7) see #2725.


Sat, 23 Jan 2021 05:54:50 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2568