Bug 26992 - in mga8, Amarok fails to run. Missing library: libgit2.so.28
Summary: in mga8, Amarok fails to run. Missing library: libgit2.so.28
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 20:58 CEST by Paul Blackburn
Modified: 2021-01-23 06:48 CET (History)
1 user (show)

See Also:
Source RPM: amarok-2.9.70-2.mga8
CVE:
Status comment:


Attachments

Description Paul Blackburn 2020-07-23 20:58:28 CEST
Description of problem:

Tried running Amarok on Mageia 8 beta 1.
Fails with missing library.

$ amarok
amarok: error while loading shared libraries: libgit2.so.28: cannot open shared object file: No such file or directory


Version-Release number of selected component (if applicable):


How reproducible:
  happens every time

Steps to Reproduce:
1. amarok  #run amarok
2.
3.
Comment 1 David GEIGER 2020-07-24 09:20:44 CEST
I think this should be fixed with kf5texteditor rebuild against libgit2 1.0.1.

- ktexteditor-5.72.0-2.mga8

CC: (none) => geiger.david68210

Comment 2 Lewis Smith 2020-07-25 21:12:36 CEST
Thank you for the report, Paul.
---
$ urpmq --requires lib64kf5texteditor5
libgit2.so.1.0()(64bit)
 $ urpmq --whatrequires lib64kf5texteditor5
 No sign of amarok
$ urpmq --requires amarok
No sign of lib64kf5texteditor5 nor kf5texteditor
 So the previous comment is enigmatic.
---------------------
$ urpmf libgit2.so.28
lib64git2_28:/usr/lib64/libgit2.so.28

$ urpmq --requires-recursive amarok | grep git2
lib64git2_1.0

$ urpmq --whatrequires-recursive lib64git2_28
lib64git2_28

Is this a question of library versions? That Amarok seems to require (in our RPM system) lib64git2_1.0, but what it really wants is libgit2.so.28 ?
Both these variants have their own pkg:
 lib64git2_1.0   Source RPM  : libgit2-1.0.1-2.mga8.src.rpm
 lib64git2_28    Source RPM  : libgit2-0.28.5-1.mga8.src.rpm
Confusing!

What I have on my up-to-date M8 system is:
$ ls -l /usr/lib64/libgit2*
-rwxr-xr-x 1 root root 1000048 Gor  18 20:46 /usr/lib64/libgit2.so.1.0.1*
lrwxrwxrwx 1 root root      16 Gor  18 20:46 /usr/lib64/libgit2.so.1.0 -> libgit2.so.1.0.1*
-rwxr-xr-x 1 root root 1020160 Ebr  10 06:56 /usr/lib64/libgit2.so.0.28.5*
lrwxrwxrwx 1 root root      17 Ebr  10 06:56 /usr/lib64/libgit2.so.28 -> libgit2.so.0.28.5*

I never understand library version nomenclature.
Assigning to the KDE team for Amarok; DavidG already CC'd.

Assignee: bugsquad => kde

Comment 3 Paul Blackburn 2020-07-25 23:11:36 CEST
hmm, after installing latest updates (urpmi --auto-update) and a reboot I tried to run Amarok and now it is working.

$ ps -ef | grep amarok | grep -v grep
mpb       668225    3698 10 22:04 pts/2    00:00:37 amarok

$ locate libgit2.so.28
/usr/lib64/julia/libgit2.so.28

I will try a fresh install of mga8 beta 1 to check it again.
Comment 4 David GEIGER 2021-01-23 06:48:51 CET
Closing as fixed!

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.