libavcodec.so.59: cannot open shared
Links2004 opened this issue · 8 comments
looks like ffmpeg where updateded to 6.0 which breaks the start of
ungoogled-chromium on arch.
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory
ldd /usr/lib/chromium/chromium | grep "not found"
libavcodec.so.59 => not found
libavformat.so.59 => not found
libavutil.so.57 => not found
$ libtree /usr/lib/chromium/chromium
/usr/lib/chromium/chromium
├── libavutil.so.57 not found
├── libavformat.so.59 not found
└── libavcodec.so.59 not found
┊ Paths considered in this order:
┊ 1. rpath:
┊ 2. LD_LIBRARY_PATH was not set
┊ 3. runpath was not set
┊ 4. ld config files:
┊ /opt/cuda/lib64
┊ /opt/cuda/nvvm/lib64
┊ /opt/cuda/extras/CUPTI/lib64
┊ /usr/lib/libfakeroot
┊ /usr/lib32
┊ 5. Standard paths:
┊ /lib
┊ /lib64
┊ /usr/lib
┊ /usr/lib64
sudo pacman -Syu
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
warning: base: local (3-2) is newer than core (3-1)
warning: pacman: local (6.0.2-6) is newer than core (6.0.2-5)
there is nothing to do
I've issued a rebuild in 5ceb8fe, OBS should have a new build in a few hours
@networkException Same problem ?
I just updated 10 minutes ago, was working before, now not working :-(
I am actually pretty stuck now without a working Chromium ..
$ sudo pacman -S ungoogled-chromium
warning: ungoogled-chromium-111.0.5563.64-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) ungoogled-chromium-111.0.5563.64-2
Total Installed Size: 283.95 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [####################################################################] 100%
(1/1) checking package integrity [####################################################################] 100%
(1/1) loading package files [####################################################################] 100%
(1/1) checking for file conflicts [####################################################################] 100%
(1/1) checking available disk space [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling ungoogled-chromium [####################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
$ chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory
$ ldd /usr/lib/chromium/chromium | grep "not found"
libavcodec.so.60 => not found
libavformat.so.60 => not found
libavutil.so.58 => not found
The -2 release depends on ffmpeg 6.
If you are using vanilla arch then your system is not updated properly; If you are using a derivative that doesn't ship ffmpeg 6 in stable yet you need to revert to -1, there's no functional difference between these releases
I am on Manjaro .. just did an update.
So I have to go back to the previous ungoogled-chromium version?
@networkException I had some messages of corrupted database before, but "somehow" in a second run it worked anyway (I had the impression that ungoogle-chromium was even automatically downloaded a 2nd time and installed).
Now trying to downgrade, and I can't get a working package ...
$ sudo yay -S downgrade
$ sudo downgrade ungoogled-chromium
Downgrading from A.L.A. is disabled on the stable branch. To override this behavior, set DOWNGRADE_FROM_ALA to 1.
See https://wiki.manjaro.org/index.php/Downgrading_packages for more details.
loading packages...
error: '/var/cache/pacman/pkg/ungoogled-chromium-111.0.5563.64-1-x86_64.pkg.tar.zst': invalid or corrupted package (PGP signature)
$ sudo downgrade ungoogled-chromium
Downgrading from A.L.A. is disabled on the stable branch. To override this behavior, set DOWNGRADE_FROM_ALA to 1.
See https://wiki.manjaro.org/index.php/Downgrading_packages for more details.
loading packages...
error: '/var/cache/pacman/pkg/ungoogled-chromium-110.0.5481.177-1-x86_64.pkg.tar.zst': invalid or corrupted package (PGP signature)
Try running pacman -U /var/cache/pacman/pkg/ungoogled-chromium-111.0.5563.64-1-x86_64.pkg.tar.zst
manually (if that file exists), otherwise you'll have to wait for https://github.com/ungoogled-software/ungoogled-chromium-archlinux/actions/runs/4375609675 to finish and download the -1 release manually
@networkException As the file wasn't in my cache anymore, I added the repo jk-aur - Maintained by JustKidding and got it from there.
however, I still have the same problem ... :-(
$ sudo pacman -Syyuu
:: Synchronizing package databases...
core 163.5 KiB 130 KiB/s 00:01 [####################################################################] 100%
extra 1857.0 KiB 631 KiB/s 00:03 [####################################################################] 100%
community 7.6 MiB 3.83 MiB/s 00:02 [####################################################################] 100%
multilib 170.6 KiB 2.01 MiB/s 00:00 [####################################################################] 100%
home_justkidding_arch_Arch 39.3 KiB 23.0 KiB/s 00:02 [####################################################################] 100%
:: Starting full system upgrade...
warning: ungoogled-chromium: downgrading from version 111.0.5563.64-2 to version 111.0.5563.64-1
resolving dependencies...
looking for conflicting packages...
Packages (1) ungoogled-chromium-111.0.5563.64-1
Total Download Size: 110.53 MiB
Total Installed Size: 283.83 MiB
Net Upgrade Size: -0.12 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
ungoogled-chromium-111.0.5563.64-1-x86_64 110.5 MiB 1108 KiB/s 01:42 [####################################################################] 100%
(1/1) checking keys in keyring [####################################################################] 100%
(1/1) checking package integrity [####################################################################] 100%
(1/1) loading package files [####################################################################] 100%
(1/1) checking for file conflicts [####################################################################] 100%
(1/1) checking available disk space [####################################################################] 100%
:: Processing package changes...
(1/1) downgrading ungoogled-chromium [####################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
[sum@xps15 ~]$ chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory
$ ldd /usr/lib/chromium/chromium | grep "not found"
libavcodec.so.60 => not found
libavformat.so.60 => not found
libavutil.so.58 => not found
@SvenMayer That is because you are on Manjaro Stable branch. Stable has not been updated to ffpmpeg 6 yet.
stable2:5.1.2-1 testing2:5.1.2-2 unstable2:6.0-3
Unstable:
extra/ffmpeg 2:6.0-3 [installed]
usr/lib/libavcodec.so
usr/lib/libavcodec.so.60
usr/lib/libavcodec.so.60.3.100
usr/lib/pkgconfig/libavcodec.pc
usr/share/doc/ffmpeg/libavcodec.html
usr/share/man/man3/libavcodec.3.gz