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

neothesia-cli doesn't run but neothesia does #235

Closed
GunGunGun opened this issue Jan 7, 2025 · 2 comments
Closed

neothesia-cli doesn't run but neothesia does #235

GunGunGun opened this issue Jan 7, 2025 · 2 comments

Comments

@GunGunGun
Copy link

I got this error running Neothesia on latest Linux Mint MATE:

./neothesia-cli
./neothesia-cli: error while loading shared libraries: libavutil.so.56: cannot open shared object file: No such file or directory

This shouldn't be an issue right because it's kinda wierd because Neothesia GUI is supposed to require more library to run.

@GunGunGun
Copy link
Author

Figured out, it's because of Neothesia was compiled without static library linking to libavutil.so.56, and Mint is using .58, maybe we should consider making cli version using the newest version of ffmpeg as possible instead of statically linking to an older version.

@PolyMeilex
Copy link
Owner

PolyMeilex commented Jan 18, 2025

it's kinda wierd because Neothesia GUI is supposed to require more library to run

The GUI is fully written In Rust and in Rust everything is statically linked, so we only call system libraries that are "always" present and stable, that's why it doesn't requite more libraries.

In the CLI on the other hand we use ffmpeg, and as far as I remember we don't statically link it (I don't remember why, probably too cumbersome to do that in CI), so we are left with a dynamic link that will always be either outdated or to new depending on you distro.

The proper way to fix this is to build it yourself, or be on a mercy of some distro maintainers to package Neothesia for your distro.

(One day I will package the CLI as a flatpak, that will solve the problem as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants