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.
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.
@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.
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
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"?
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.
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.
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.