Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04: error while loading shared libraries: libavcodec.so.61 #1266

Closed
profhccaesar opened this issue Dec 19, 2024 · 1 comment
Closed
Labels
state:Done This issue has been resolved/dismissed

Comments

@profhccaesar
Copy link

  • Video2x-Release:
    6.2.0
  • Installation package:
    video2x-linux-ubuntu2204-amd64.deb
  • Operating System:
    Ubuntu 22.04

Error message when starting video2x:

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

Ubuntu 22.04 "Jammy" doesn't provide libavcodec.so.61, it just provides libavcodec.so.58. See "Package libavcodec-extra".

Seems that the package file video2x-linux-ubuntu2204-amd64.deb wasn't compiled with the correct environment / system.

@github-actions github-actions bot added the state:Backlog This issue will be worked on in the future label Dec 19, 2024
@k4yt3x
Copy link
Owner

k4yt3x commented Dec 19, 2024

It's compiled correctly and this is the intended behavior. FFmpeg on Ubuntu 22 is too old and doesn't come with components like libplacebo enabled, so I built it with the FFmpeg in ppa:ubuntuhandbook1/ffmpeg7. It's not very well documented mostly because the only reason that I have a Ubuntu 22 build is because Colab is Ubuntu 22.

Regardless, this package will be deprecated and replaced by the flatpak package that will come out soon. If you want to use it now, install the ffmpeg from ppa:ubuntuhandbook1/ffmpeg7.

@k4yt3x k4yt3x closed this as completed Dec 19, 2024
@github-actions github-actions bot added state:Done This issue has been resolved/dismissed and removed state:Backlog This issue will be worked on in the future labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:Done This issue has been resolved/dismissed
Projects
None yet
Development

No branches or pull requests

2 participants