flathub / com.makemkv.MakeMKV

https://flathub.org/apps/details/com.makemkv.MakeMKV
9 stars 20 forks source link

error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory #51

Open Gamecubert opened 1 year ago

Gamecubert commented 1 year ago

error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory

This error occurs when i try to run sdftool or makemkvcon from /var/lib/flatpak/app/com.makemkv.MakeMKV/current/f3608af10eb2297e03057c78cf7bb20b55ce00996b2a042b6097a30574e639d5/files/bin I have been having major issues trying to build makemkv for my distro and installed flatpak instead. I want to get libredrive working but since i have no avenues to use the flash tool to do that im kinda stuck and would really appreciate some help or a fix if this is truely a bug and not my own linux incompetence.

NeuroticTumbleweed commented 7 months ago

I faced a similar issue and decided to build it from the source and binary tars to get around it. Something to look into is it should be possible to create another flatpak requiring this one as a dependency and setting makemkvcon as the command.

Just a caveat that I haven't authored any flatpaks myself and stumbled across this after doing some light googling

TheIronMarx commented 5 months ago

@NeuroticTumbleweed Do you have a guide handy? This link from the MakeMKV forums is 404ing on the source and binaries download in the first step.

TheIronMarx commented 5 months ago

I found a PPA for Apt that worked neatly with makemkvcon. Launchpad here.

sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo apt-get update
sudo apt-get install makemkv-bin makemkv-oss

This requires a registration key. From there makemkvcon worked as documented.

It definitely would be great to have the missing dependency included in the Flatpak, however.

djjudas21 commented 1 month ago

Confirmed this is also a problem since upgrading to Fedora 40 - it worked on Fedora 39.

The "missing" library does exist though, so I'm not sure what's wrong. I've never used a flatpak before.

[jonathan@poseidon ~]$ /var/lib/flatpak/app/com.makemkv.MakeMKV/x86_64/stable/01cd43d6aed487b21bc714a1541c17076bbf67113b677f5845ec9ffde8cfc988/files/bin/makemkvcon
/var/lib/flatpak/app/com.makemkv.MakeMKV/x86_64/stable/01cd43d6aed487b21bc714a1541c17076bbf67113b677f5845ec9ffde8cfc988/files/bin/makemkvcon: error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory

[jonathan@poseidon ~]$ locate libmakemkv.so.1
/var/lib/flatpak/app/com.makemkv.MakeMKV/x86_64/stable/01cd43d6aed487b21bc714a1541c17076bbf67113b677f5845ec9ffde8cfc988/files/lib/libmakemkv.so.1