vlc player does not work in 15.2 (vlc-codecs cannot be installed)

Hi,

I installed OpenSUSE Leap 15.2 and installed ‘vlc’ media player. To play MPEG4 videos, I need ‘vlc-codecs’ from VideoLanClient repository or packman repository. Both of them have ‘vlc-codecs (3.0.11-4.2)’ which were built against ‘glic (2.29)’. When I try to install the vlc-codecs, zypper or YaST complain that “nothing provides libm.so.6(GLIBC_2.29)(64bit)” The OpenSUSE Leap 15.2 seems to be built with GLIBC 2.26, which is 3 years old. I thought of downloading and installing GLIBC-2.29 (or even the latest GLIBC-2.31), but after digging through little bit, it appears to be a very risky thing and could break the many packages and even kernel.
My question is, why is OpenSUSE Leap 15.2 released in July 2020 using glibc-2.26 released in 2017? More importantly, how do I fix the vlc media player? This also seems to cause some issues with ‘gstreamer’ (libav: avenc_mpeg4). Is there a general solution to this problem that fixes all such version mismatch problems with glibc in Leap 15.2? I appreciate any suggestions, solutions, workarounds, or information on this.

Thanks,
Reddy

If you follow the instructions in https://forums.opensuse.org/showthread.php/536314-Multimedia-Guide-for-openSUSE-Leap-15-1 changing 15.1 to 15.2, you should be able to solve the problem. I have updated directly and changing the repos was all I needed to do. However, some programs are not included in 15.2; so you might get an error and have to remove one or two from the list for 15.1.

I have “vlc-codecs” installed from packman repo. It is doing fine. It seems to be 3.0.10.

I’m not sure what you did differently.

@nrickert, Thanks for the response. The vlc-codecs v3.0.11 is the current version in the packman repo, which was updated 4 days ago (PackMan :: Package details for vlc). The vlc-codecs v3.0.10 (-pm152.2.3) seems to be 11 days old, released on 24 June 2020. I tried to install that RPM but it is failing with different dependency resolution problems. May I know when you installed that version?

@john_hudson, The above method results in exactly the same problem I reported.
Problem: nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by vlc-3.0.11-4.2.x86_64

libm.so.6 needed for these packages listed in the forum thread you pointed is only available with glibc-2.29. OpenSUSE Leap 15.2 has used glibc-2.26, hence the dependency is not satisfied.

Like the others report, vlc is working for me…just tested. (I upgraded a couple of days ago.)

Regarding lib.so.6…

dean@linux-4k1z:~> whereis libm.so.6 
libm.so: /usr/lib64/libm.so /lib/libm.so.6 /lib64/libm.so.6
dean@linux-4k1z:~> rpm -qf /lib64/libm.so.6 
glibc-2.26-lp152.25.10.x86_64
dean@linux-4k1z:~> 

I’m using 3.0.10 from packman…

dean@linux-4k1z:~> rpm -qi vlc
Name        : vlc
Version     : 3.0.10
Release     : pm152.2.3
Architecture: x86_64
Install Date: Sat 04 Jul 2020 14:45:40 NZST
Group       : Productivity/Multimedia/Video/Players
Size        : 1740526
License     : GPL-2.0-or-later AND LGPL-2.1-or-later
Signature   : RSA/SHA1, Wed 24 Jun 2020 22:27:08 NZST, Key ID 45a1d0671abd1afb
Source RPM  : vlc-3.0.10-pm152.2.3.src.rpm
Build Date  : Wed 24 Jun 2020 22:00:42 NZST
Build Host  : swkjt03
Relocations : (not relocatable)
Packager    : packman@links2linux.de
Vendor      : http://packman.links2linux.de
URL         : http://www.videolan.org
Summary     : Graphical media player
Description :
VLC media player is a multimedia player for many
audio and video files and formats (such as MPEG, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.


Note that the actual support is provided through ffmpeg and gstreamer
libraries, which may not have all codecs enabled that were just named.
Distribution: Essentials / openSUSE_Leap_15.2

Returning to your opening post…

I installed OpenSUSE Leap 15.2 and installed ‘vlc’ media player. To play MPEG4 videos, I need ‘vlc-codecs’ from VideoLanClient repository or packman repository. Both of them have ‘vlc-codecs (3.0.11-4.2)’ which were built against ‘glic (2.29)’.

The packman version is at 3.0.10 currently…

zypper se -s vlc
v  | vlc                                | package    | 3.0.11-lp152.4.1                  | x86_64 | KDE-Qt5
i  | vlc                                | package    | 3.0.10-pm152.2.3                  | x86_64 | packman

Sorry I may be stupid but I have the same problem. I copied exactly the commands listed in https://forums.opensuse.org/showthread.php/536314-Multimedia-Guide-for-openSUSE-Leap-15-1 (except updating the repos) and I get “Nothing provides libx264.so.155(64bit) needed by vlc-codecs-3.0.10-pm152.2.3x86_64” . It does not help me either if someone is writing it is working for him. I would appreciate some more instructions of what to do. should I ignore the 'dependency problems"?

Configured repos please…

zypper lr -d

I note…

~> zypper se -s libx264
Loading repository data...
Reading installed packages...

S | Name                        | Type       | Version                              | Arch   | Repository
--+-----------------------------+------------+--------------------------------------+--------+------------------
  | libx264                     | srcpackage | 0.159+git20191127.1771b556-pm152.1.1 | noarch | packman
  | libx264                     | srcpackage | 0.155svn20190201-pm152.3.3           | noarch | packman
i | libx264-155                 | package    | 0.155svn20190201-pm152.3.3           | x86_64 | (System Packages)
v | libx264-155                 | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
  | libx264-155-32bit           | package    | 0.155svn20190201-pm152.3.3           | x86_64 | packman
  | libx264-155-32bit-debuginfo | package    | 0.155svn20190201-pm152.3.3           | x86_64 | packman
  | libx264-155-debuginfo       | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
i | libx264-159                 | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
  | libx264-159-debuginfo       | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
  | libx264-debugsource         | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
  | libx264-debugsource         | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
  | libx264-devel               | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
  | libx264-devel               | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
  | libx264-x264                | srcpackage | 0.159+git20191127.1771b556-pm152.1.1 | noarch | packman
  | libx264-x264                | srcpackage | 0.155svn20190201-pm152.3.4           | noarch | packman
  | libx264-x264-debugsource    | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman

Maybe that is why I had no issue evident, since upgraded from openSUSE 15.1 in situ and package remained?

Hmmm…maybe the “in situ” upgrade from openSUSE 15.1 presented no issue for me since the original package remained?

i | libx264-155                 | package    | 0.155svn20190201-pm152.3.3           | x86_64 | (System Packages)

Thanks you, deano_ferrari here it is:

zypper lr -d
#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                      | Service
---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
 1 | libdvdcss                 | libdvdcss                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.2/                       | 
 2 | openSUSE-Leap-15.2-1      | openSUSE-Leap-15.2-1               | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Imation_HQT_070326B92223F774-0:0-part2   | 
 3 | packman                   | packman                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.2/                         | 
 4 | repo-debug                | Debug Repository                   | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/      | 
 5 | repo-debug-non-oss        | Debug Repository (Non-OSS)         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/  | 
 6 | repo-debug-update         | Update Repository (Debug)          | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.2/oss/                 | 
 7 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.2/non-oss/             | 
 8 | repo-non-oss              | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/        | 
 9 | repo-oss                  | Main Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/            | 
10 | repo-source               | Source Repository                  | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/     | 
11 | repo-source-non-oss       | Source Repository (Non-OSS)        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/ | 
12 | repo-update               | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/oss                        | 
13 | repo-update-non-oss       | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/                   | 
uli@linux-osd0:~> zypper se -s libx264
Loading repository data...
Reading installed packages...

S  | Name                        | Type       | Version                              | Arch   | Repository
---+-----------------------------+------------+--------------------------------------+--------+------------------
   | libx264                     | srcpackage | 0.159+git20191127.1771b556-pm152.1.1 | noarch | packman
   | libx264                     | srcpackage | 0.155svn20190201-pm152.3.3           | noarch | packman
i+ | libx264-148                 | package    | 0.148svn20170816-1.3                 | x86_64 | (System Packages)
i+ | libx264-152                 | package    | 0.152svn20180305-lp150.3.2           | x86_64 | (System Packages)
i+ | libx264-155                 | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
   | libx264-155-32bit           | package    | 0.155svn20190201-pm152.3.3           | x86_64 | packman
   | libx264-155-32bit-debuginfo | package    | 0.155svn20190201-pm152.3.3           | x86_64 | packman
   | libx264-155-debuginfo       | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
i  | libx264-157                 | package    | 0.157svn20191217-pm151.1.1           | x86_64 | (System Packages)
i  | libx264-159                 | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
   | libx264-159-debuginfo       | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
   | libx264-debugsource         | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
   | libx264-debugsource         | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
   | libx264-devel               | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman
   | libx264-devel               | package    | 0.155svn20190201-pm152.3.3           | i586   | packman
   | libx264-x264                | srcpackage | 0.159+git20191127.1771b556-pm152.1.1 | noarch | packman
   | libx264-x264                | srcpackage | 0.155svn20190201-pm152.3.4           | noarch | packman
   | libx264-x264-debugsource    | package    | 0.159+git20191127.1771b556-pm152.1.1 | x86_64 | packman


I don’t know, may be you have a different link for the packman repo. I find it confusing when there is written

 libx264-155-32bit           | package    | 0.155svn20190201-pm152.3.3           | x86_64 | packman

Why is it called 32 bit but the column Architecture says x86_64?
BTW yesterday I upgraded another computer to Leap15.3 and there were no problems what is wrong here?

Just a guess, you have it working because you upgraded from 15.1 to 15.2 in place. Another guess, if I may, is that your ‘vlc’ should also break if you uninstall ‘vlc’ and ‘vlc-codecs’ and reinstall the latest available from packman repo (or VideoLanClient repo).

The glibc version mismatch is breaking many packages and dependencies, like another member who had x264 failing as well.

Regarding lib.so.6…

dean@linux-4k1z:~> whereis libm.so.6 
libm.so: /usr/lib64/libm.so /lib/libm.so.6 /lib64/libm.so.6
dean@linux-4k1z:~> rpm -qf /lib64/libm.so.6 
glibc-2.26-lp152.25.10.x86_64
dean@linux-4k1z:~> 

From the above, your libm.so.6 is compiled with glibc-2.26. The current vlc has dependency on libm.so.6(GLIBC_2.29), so are many libs and packages. They are complaining about not finding libm.so.6 that is compiled with glibc-2.29 or later.

Yes, that is the case.

I proceeded with this re-install switching from http://packman.links2linux.de -> obs://build.opensuse.org/KDE

RESOLVED.

Looks like the ‘vlc’ package moved OpenSUSE repos now and YaST shows 3.0.11. Once I installed that and ran, I got error. As usual, I searched on google and some posts pointed that I need to install ‘vlc-codecs’. Now, these codecs are at packman repos. Simply adding packman repos is not working. It identified the dependencies. I had to downgrade the vlc to 3.0.10 and then packman packages matched that version. As of now, I am able to run ‘vlc’ (v3.0.10) on OpenSUSE Leap 15.2. Thank you all for sharing the information which led me to identify this version mismatch and take appropriate action.

Packman has 3.0.10 in the repos for Leap 52.1 and 3.0.11 in the repos for Tumbleweed.

Maybe you should be using Tumbleweed instead of Leap.