You are not logged in.
Hi, could someone help me out with installing a program?
I'm trying to install this:
https://aur.archlinux.org/packages/cctv-viewer-git
Of course it fails:
error while loading shared libraries: libavformat.so.59: cannot open shared object file: No such file or directory
I'm trying to apply the patch that is listed on the AUR page, but have no idea how. Also I am not sure this fixes it anyways, because the problem seems to stem from ffmpeg. And I don't know which version of ffmpeg I'd need to install to make this work either.
Any ideas? Thanks!
Offline
Did you rebuild cctv-viewer-git after you updated to ffmpeg 2:6.0-3? I just built the package and the binary cctv-viewer was not linked to libavformat.so.59 but only to libavformat.so.60.
Last edited by loqs (2023-03-10 21:09:45)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Save the patch as a file and run "git apply" on it. But in this case it might be easier to jast add
sed -i "s/Qt6//g" "${srcdir}/cctv-viewer/CMakeLists.txt"
to the prepare function of the PKGBUILD using a text editor.
Offline
As the PKGBUILD only uses qt5 packages a clean chroot build would avoid qt6 being used without requiring patching.
What is the connection between qt6 and libavformat.so.59? Why would a fix for a build failure from before the ffmpeg 6 update be relevant to a runtime failure indicating the package has not been rebuilt?
Last edited by loqs (2023-03-11 17:56:45)
Offline