You are not logged in.
I started to get these strange errors whenever running Haskell applications (e.g. cabal, pandoc, xmonad):
λ ~ pandoc
pandoc: error while loading shared libraries: libHSzip-archive-0.4-3nmM30kYp4lC9uAhpEfBYN-ghc8.6.3.so: cannot open shared object file: No such file or directory
λ ~ cabal
cabal: error while loading shared libraries: libHSzip-archive-0.4-3nmM30kYp4lC9uAhpEfBYN-ghc8.6.3.so: cannot open shared object file: No such file or directory
λ ~ xmonad
xmonad: error while loading shared libraries: libHSutf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv-ghc8.6.3.so: cannot open shared object file: No such file or directoryI tried uninstalling (pacman -R) and reinstalling (pacman -Sy && pacman -S) those packages and GHC (ghc ghc-static ghc-libs cabal-install pandoc xmonad), yet the errors persist. I uninstalled the GHC and Cabal packages through pacman and reinstalled with ghcup; only Cabal is fixed, everything else is still broken.
The only thing that changed between when the packages worked and broke is uninstalling them (ghc{,-static,-libs} and cabal-install) to try asdf-vm, removing asdf-vm after realizing it isn't that great, and reinstalling them after (it wasn't a good idea, I know),
Anyone got any idea what's going on? How do I get rid of these errors and make Haskell stuff work again?
Offline
I'll assume you're the same person who posted on Stack Overflow, but for the sake of me inevitably finding this thread and not that page when I run into this again: All I had to do was reinstall the specific libraries, so a problem with
libHSzip-archive-0.4-3nmM30kYp4lC9uAhpEfBYN-ghc8.6.3.sowould require
pacman -S haskell-zip-archiveOffline
Seems like an obvious partial update issue. Update the entire system and it should work fine.
Offline