You are not logged in.

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

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

[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,104

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: 11,619

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: 4

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

Board footer

Powered by FluxBB