Skip to main content
Topic: can't launch chromium because of a missing libFLAC.so.12 (Read 2486 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

can't launch chromium because of a missing libFLAC.so.12

recently i ran a script that detects files that arent used by packages: https://github.com/graysky2/lostfiles and i used its output to remove files
and now i cant use chromium, when i try to run it i get this output
Code: [Select]
/usr/lib/chromium/chromium: error while loading shared libraries: libFLAC.so.12: cannot open shared object file: No such file or directory

i am using artix linux with openrc

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #1
looks like this script has caused me many many other problems, should i start a new thread for those problems?

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #2
removing non-user files is the best way to corrupt your system; NEVER do this
pls don't create any threads for the issues; just restore or reinstall, at least al the related packages

artist

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #3
I ran no such script and received the same error after a fresh install of Artix with dinit (and Chromium, of course). I temporarily installed firefox until the problem is corrected.

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #4
/usr/lib/chromium/chromium: error while loading shared libraries: libFLAC.so.8
chromium broke after system update a few hours ago, this doesnt have anything to do with a script
(Ungoogled-chromium on artix runit)

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #5
Hotfix:
Code: [Select]
sudo ln -s /usr/lib/libFLAC.so /usr/lib/libFLAC.so.8

Until proper fixed.

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #6
Hotfix:
Code: [Select]
sudo ln -s /usr/lib/libFLAC.so /usr/lib/libFLAC.so.8

Until proper fixed.

Greate thanks!
&
Do I need to return it back when they fix it? And how to do it?
i3-3210 / 10GB / VGA Intel HD 2500 / SSD 240GB / Arch Linux / Openbox / Ungoogled-Chromium

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #7
So this is about ungoogled-chromium, and not chromium.
A new build - which takes a long time - was already running, and will be pushed to the universe repo when ready and after testing.

artist

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #8
Do I need to return it back when they fix it? And how to do it?
Yes. After a Chromium Update check:
Code: [Select]
ldd /usr/lib/chromium/chromium | grep -i libFLAC
If the result is: "libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f602aa06000)"
Its not fixed.
If '.8' is changed:
Code: [Select]
sudo rm -f /usr/lib/libFLAC.so.8

 

Re: can't launch chromium because of a missing libFLAC.so.12

Reply #9
ungoogled-chromium-105.0.5195.125-2-x86_64 fixes the issue proper.
Code: [Select]
ldd /usr/lib/chromium/chromium | grep libFLAC
libFLAC.so.12 => /usr/lib/libFLAC.so.12 (0x00007f2ed7206000)
Delete the hotfix symlink:
Code: [Select]
sudo rm -f /usr/lib/libFLAC.so.8