You are not logged in.

#1 2022-03-28 11:35:26

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 70

[SOLVED] error while loading shared libraries: libavcodec.so.58

Hi,

I have mgba and mgba-qt installed by mgba-sdl and mgba-qt packages respectively. When I tried to open them, I got this error:

mgba: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory

Either ffmpeg4.4 in Extra or ffmpeg-compat-58 in AUR seems to solve the problem.

I googled libavcodec.so.58 and mgba, but couldn't find similar issue. 

Does this count as a bug that I should report?

Last edited by E3LDDfrK (2022-03-28 16:26:08)

Offline

#2 2022-03-28 11:38:39

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,236

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

E3LDDfrK wrote:

Does this count as a bug that I should report?

Yes. The package dependencies are wrong.

Offline

#3 2022-03-28 13:52:09

robinOP
Member
From: San Francisco, US
Registered: 2022-01-20
Posts: 12
Website

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

I've managed to fix it by installing ffmpeg-compat-58 from the AUR

Offline

#4 2022-03-28 13:53:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,062

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

That's not a fix, that's a workaround. The package dep should be ffmpeg4.4.

Offline

#5 2023-05-19 17:53:54

pvl1
Member
Registered: 2014-01-14
Posts: 5

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

sorry to necrobump, but to further support Scimmia,
I updated my ffmpeg and ffmpeg4.4 and now my software works.

Offline

#6 Yesterday 01:29:46

ratthew
Member
Registered: Yesterday
Posts: 1

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

Gonna necrobump again, the `obs-studio` package still doesn't seem to depend on `ffmpeg`, and I'm a big confused as to why not?

Offline

#7 Yesterday 01:59:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,062

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

I don't know why you would necrobump (which is against the rules) about a bug that was fixed years ago. If you have a problem *and you're fully up to date*, make a new thread fully describing the problem.

Offline

#8 Yesterday 06:03:20

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,402
Website

Re: [SOLVED] error while loading shared libraries: libavcodec.so.58

Mod note: Do not necrobump! Closing.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB