libx265-87

Hi

I’m having trouble installing vlc, mplayer and other such software from packman. I get an error to the effect that libx265.so.87 (64bit) is a dependency but nothing provides it. libavcodec57 and vlc-codecs both require this but the only version available on packman is the libx265-95. It seems like they updated the libx265 library but forgot to recompile vlc and such to use it. The other possibility is that something is wrong on my system.

I did a “zypper clean -a” and a “zypper refresh” in case my system wasn’t aware of all the files available on these repos. That didn’t help. here’s the output of zypper lr:


#  | Alias                           | Name                                    | Enabled | GPG Check | Refresh
---+---------------------------------+-----------------------------------------+---------+-----------+--------
 1 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes    
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes    
 3 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes    
 4 | download.opensuse.org-oss_1     | Main Update Repository                  | Yes     | (r ) Yes  | Yes    
 5 | ftp.gwdg.de-suse                | Packman Repository                      | Yes     | (r ) Yes  | Yes    
 6 | openSUSE-42.1-0                 | openSUSE-42.1-0                         | Yes     | (r ) Yes  | No     
 7 | repo-debug                      | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes    
 8 | repo-debug-non-oss              | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes    
 9 | repo-debug-update               | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes    
10 | repo-debug-update-non-oss       | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes    
11 | repo-source                     | openSUSE-Leap-42.1-Source               | No      | ----      | Yes    
12 | repo-update                     | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes    



The system is leap 42.1 amd64. Can you guys please help me with this?

Post:

zypper lr -d

To see the URL of the Repos.

Also

zypper in -f vlc-codecs

I’m having precisely the same problem.

linux-9tn8:~ # zypper lr -d
#  | Alias                            | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                           | Service
---+----------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+--------
 1 | 42.1                             | 42.1                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.1/                                |        
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/             |        
 3 | download.opensuse.org-non-oss_1  | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                        |        
 4 | download.opensuse.org-oss        | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                 |        
 5 | download.opensuse.org-oss_1      | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                             |        
 6 | http-opensuse-guide.org-7bf43d8a | libdvdcss repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                            |        
 7 | http-packman.inode.at-ff8d4256   | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                              |        
 8 | openSUSE-42.1-0                  | openSUSE-42.1-0                         | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS220_6                            |        
 9 | openSUSE_Leap_42.1               | openSUSE_Leap_42.1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/M17N:/fonts/openSUSE_Leap_42.1/     |        
10 | openSUSE_Leap_42.1_1             | openSUSE_Leap_42.1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/            |        
11 | openSUSE_Leap_42.1_2             | openSUSE_Leap_42.1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.1/         |        
12 | openSUSE_Leap_42.1_3             | openSUSE_Leap_42.1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/         |        
13 | openSUSE_Leap_42.1_4             | openSUSE_Leap_42.1                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.1/ |        
14 | repo-debug                       | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/           |        
15 | repo-debug-non-oss               | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/       |        
16 | repo-debug-update                | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                       |        
17 | repo-debug-update-non-oss        | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/                  |        
18 | repo-source                      | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/          |        
19 | repo-update                      | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                            |        


linux-9tn8:~ # zypper in -f vlc-codecs
Loading repository data...
Reading installed packages...
Forcing installation of 'vlc-codecs-2.2.4-30.3.x86_64' from repository 'Packman Repository'.
Resolving package dependencies...

Problem: nothing provides libx265.so.87()(64bit) needed by vlc-codecs-2.2.4-30.3.x86_64
 Solution 1: do not install vlc-codecs-2.2.4-30.3.x86_64
 Solution 2: break vlc-codecs-2.2.4-30.3.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 


Same thing happens if I try to install with YAST (but why wouldn’t it?).


#  | Alias                           | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+---------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                  |        
 3 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
 4 | download.opensuse.org-oss_1     | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                       |        
 5 | ftp.gwdg.de-suse                | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/           |        
 6 | openSUSE-42.1-0                 | openSUSE-42.1-0                         | Yes     | (r ) Yes  | No      |   99     | yast2  | cdrom drive |        
 7 | repo-debug                      | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/     |        
 8 | repo-debug-non-oss              | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |        
 9 | repo-debug-update               | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                 |        
10 | repo-debug-update-non-oss       | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/            |        
11 | repo-source                     | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
12 | repo-update                     | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                      |        



Also

zypper in -f vlc-codecs

This leads to the same error as before about libx265.so.87 being missing.

Same issue here. It looks like Packman is only half updated, or maybe they are in the middle of syncing new updates.

Thank you for posting about it on the mailing list:

http://lists.links2linux.de/pipermail/packman/2016-October/014690.html

The Problem is, that vlc is build against libx265-87, but libx265.87 is updated by libx265.95 (lib265.87 is deleted) and vlc is not build new.

So wait.

I noticed something strange about libx265-87 it was listed as orphaned for me, as this sometimes happens with packman’s vlc, vlc is rebuild against a new x265 library and said library is installed as it has a different name the old package is usually left behind in this case the package was dropped too early, vkc was still build against it, a vlc rebuild is required.

Hi buddy!

Just install libx265-87 from here:

ftp://ftp.pbone.net/mirror/distrib-coffee.ipsl.jussieu.fr/mageia/distrib/cauldron/x86_64/media/tainted/release/lib64x265_87-2.0-1.mga6.tainted.x86_64.rpm

locate where you downloaded the file, like

cd /home/***/Downloads

zypper in [FONT=comic sans ms]lib64x265_87-2.0-1.mga6.tainted.x86_64.rpm

zypper in vlc

[/FONT]chocolate:/home/allan/Downloads # zypper in lib64x265_87-2.0-1.mga6.tainted.x86_64.rpm
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW package is going to be installed:
lib64x265_87

1 new package to install.
Overall download size: 525.5 KiB. Already cached: 0 B. After the operation, additional 3.3 MiB will be
used.
**Continue? [y/n/? shows all options] (y): **y
Retrieving package lib64x265_87-2.0-1.mga6.tainted.x86_64 (1/1), 525.5 KiB ( 3.3 MiB unpacked)
lib64x265_87-2.0-1.mga6.tainted.x86_64.rpm:
Header V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY
V3 RSA/SHA1 Signature, key ID 80420f66: NOKEY

lib64x265_87-2.0-1.mga6.tainted.x86_64 (Plain RPM files cache): Signature verification failed [4-Signatu
res public key is not available]
**Abort, retry, ignore? [a/r/i] (a): **i
Checking for file conflicts: …[done]
(1/1) Installing: lib64x265_87-2.0-1.mga6.tainted.x86_64 …[done]
Additional rpm output:
warning: /var/cache/zypp/packages/tmpRPMcache/lib64x265_87-2.0-1.mga6.tainted.x86_64.rpm: Header V3 RS
A/SHA1 Signature, key ID 80420f66: NOKEY

chocolate:/home/allan/Downloads # zypper in vlc
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following 43 NEW packages are going to be installed:
fribidi gimp-plugin-aa libHalf12 libIex-2_2-12 libIlmImf-2_2-22 libIlmThread-2_2-12 libSDL_image-1_2-0
liba52-0 libaa1 libass5 libavc1394-0 libavcodec57 libavformat57 libavutil55 libcaca0 libcddb2
libchromaprint1 libdca0 libdvbpsi10 libdvdnav4 libebml4 libenca0 libfaad2 libftgl2 libgme0
libmatroska6 libmodplug1 libmpeg2-0 libopencv3_1 libpostproc53 libprojectM2 libshine3 libshout3
libswresample2 libswscale4 libvdpau1 libvlc5 libvlccore8 libzvbi0 vlc vlc-codecs vlc-noX vlc-qt

43 new packages to install.
Overall download size: 16.7 MiB. Already cached: 0 B. After the operation, additional 53.8 MiB will be
used.
**Continue? [y/n/? shows all options] (y): **

Do NOT, repeat DO NOT, install packages from other distro’s repos. It might work, serious trouble might occur as well.
And, DO NOT, repeat DO NOT, ignore warnings about verification keys. It’s breaking everything re. stability and security that openSUSE tries to provide.

There are problems with Packman’s build system currently, as you can read in the above mentioned mailinglist discussion.
The packages fail to build with spurious error messages (“bad tempdir”).

The old packages should still work though, provided that you already have libx265-87 installed of course (it’s not in the repo any more).

And the old x265 package was not “dropped” at all, it was replaced by the newer version. That’s just how OBS works.
It would be possible of course to provide several versions simultaneously, but that would also require extra work from the (always too few) volunteers that work hard in their spare time to provide you the packages. And it would normally be unnecessary anyway, as everything should get rebuilt with the new version automatically.

my point is that the way packman names the x265 package is buggy

the current version of libx265 is 95 ie libx265-95 and vlc uses it but
this results in multiple libx265 packages being installed, this only happens with the x265 not x264 or xvid packages, in the past year or so I have found and removed 3 or 4 abandoned libx265 packages this shouldn’t happen

I hope somebody will be so kind to report here when this is repaired.

There are several other threads about people being stuck on this in other languages parts of these forums, and would like to report there that that they can install again asap.

No, the names are not buggy.

libx265-95 is a major new version, which is incompatible with -87.
libx265-95 contains libx265.so.95, lib265-87 contains libx265.so.87. Even the file names are different, so applications built against one cannot load the other.

the current version of libx265 is 95 ie libx265-95 and vlc uses it but
this results in multiple libx265 packages being installed

This is intended and by design (and not specific to Packman at all).

It’s called “Shared Library Packaging Policy”, and allows you to install applications that need different major library versions at the same time (by allowing you to install different major versions of a library at the same time).

So, it’s not a bug, but a feature.

And without that, you wouldn’t be able to continue using ffmpeg currently (which probably would also break vlc) if you updated libx265, because the old one would have been replaced on your system.

this only happens with the x265 not x264 or xvid packages

It does/did happen with x264 as well. There just haven’t been any major upgrades to x264 for some time (same with xvid, the package is currently called libxvidcore4, a new major version would probably be called libxvidcore5)…

in the past year or so I have found and removed 3 or 4 abandoned libx265 packages this shouldn’t happen

Well, YaST/zypper don’t uninstall unused/unneeded packages automatically.
(actually “zypper dup” does for packages that got dropped in the distribution)

And I suppose you wouldn’t have your manually installed packages (that are not in any repo) removed automatically anyway, would you?

OK I get it, in that case why is there currently only one x265 package with only 1 libx265 on packman?

the way I understood it is the updated versions wore backboards compatible so libx265-95 should support all the features that libx265-87 had
will libx265-87 be back on packman or the packages that use it will be rebuild in the coming days?
can linking libx265.so.95 to linx265.so.87 be a temporary fix?

lol Firefox spell checker
not backboards but backwards

As I wrote already: because the old version got replaced by the new one.

Packman doesn’t provide several versions for libx265, and there normally is no need to because everything that uses it gets rebuilt automatically anyway whenever there is an update/upgrade. That is, unless there are build problems, like currently.

They do provide multiple versions for other packages though, ffmpeg/libav* e.g.

the way I understood it is the updated versions wore backboards compatible so libx265-95 should support all the features that libx265-87 had

Even if that’s true in this particular case, that’s not guaranteed.
The number is (should be) only changed (upstream) when there are incompatible changes.

At least applications built against the newer one will not work with the older one in any case (if they use new features).

And it’s also not guaranteed that the new version can be used as drop-in replacement and just be used instead of the old one, even if it supports all old features.

will libx265-87 be back on packman

I am not aware of plans to do that.

You may want to suggest that on the Packman mailinglist though.

Please note that I am not a Packman packager, and not involved in the team…

or the packages that use it will be rebuild in the coming days?

Well.
It’s not that they are not being rebuilt on purpose.

When the build problems are fixed, they will be rebuilt.
I have no idea how long that will take.

can linking libx265.so.95 to linx265.so.87 be a temporary fix?

If it is compatible enough, yes.
May depend on the particular application though.

And you’d need to ignore the missing dependency.

Not compatible enough:

Playing track01.cdda.wav.
libavformat version 57.41.100 (external)
mplayer: symbol lookup error: /usr/lib64/libavcodec.so.57: undefined symbol: x265_api_get_87

My points proven. :\

I don’t have the rpm but I can share the leap 42.1 libx265.so.87 if somebody needs it