For everyone:
This was fixed a long time ago. BUT!
I learned one thing or two:
If you can't recompile XMonad, try this:
ghc-pkg recache
xmonad --recompile
It has helped me a lot. But this thread is SOLVED.
Thank you for this, still solving issues in 2023.
]]>This was fixed a long time ago. BUT!
I learned one thing or two:
If you can't recompile XMonad, try this:
ghc-pkg recache
xmonad --recompile
It has helped me a lot. But this thread is SOLVED.
]]>Tried to
xmonad --recompile
in both root and sudo. Just to clarify
That needs to be run as your ordinary user.
]]>$ pkgfile libHSutf8-string-1.0.2-CkwPGvXHIXdEOOrPn2UOUp-ghc8.10.3.so community/haskell-utf8-string $
Let's make sure that's installed and not changed : post output of pacman -Qkk haskell-utf8-string
[b0ss] [07:42] [~] $ pkgfile libHSutf8-string-1.0.2-CkwPGvXHIXdEOOrPn2UOUp-ghc8.10.3.so
community/haskell-utf8-string
[b0ss] [07:42] [~] $ pacman -Qkk haskell-utf8-string
haskell-utf8-string: 29 total files, 0 files altered
[b0ss] [07:42] [~] $
Apparently it's all fine and unaltered. Don't know what's the matter then
Tried to
xmonad --recompile
in both root and sudo. Just to clarify
]]>$ pkgfile libHSutf8-string-1.0.2-CkwPGvXHIXdEOOrPn2UOUp-ghc8.10.3.so
community/haskell-utf8-string
$
Let's make sure that's installed and not changed : post output of pacman -Qkk haskell-utf8-string
]]>https://wiki.archlinux.org/index.php/Xm … ter_update
You need to recompile xmonad after every ghc/haskell update.
Did it. Didn't work.
[b0ss] [06:18] [~/.xmonad] $ sudo ghc-pkg recache
[b0ss] [06:19] [~/.xmonad] $ xmonad --recompile
xmonad: error while loading shared libraries: libHSutf8-string-1.0.2-CkwPGvXHIXdEOOrPn2UOUp-ghc8.10.3.so: cannot open shared object file: No such file or directory
[b0ss] [06:19] [~/.xmonad] $
Moved the binary at .xmonad/ (xmonad-x86_64-linux) to ~/, but it didn't work either.
As an alternative to xmonad, I use Plasma. This didn't cause no trouble before, but now I might think it can be part of the problem? Maybe? Going to reboot and try getting into xmonad via LXDM. Wish me luck.
Edit: No luck. Tried TTY. Didn't work either.
]]>You need to recompile xmonad after every ghc/haskell update.
]]>XMonad is recompiling and replacing itself another XMonad process because the current process is called "xmonad" but the compiled configuration should be called "xmonad-x86_64-linux"
XMonad will use ghc to recompile, because "/home/b0ss/.xmonad/build" does not exist.
XMonad skipping recompile because it is not forced (e.g. via --recompile), and neither xmonad.hs nor any *.hs / *.lhs / *.hsc files in lib/ have been changed.
/home/b0ss/.xmonad/xmonad-x86_64-linux: error while loading shared libraries: libHSxmonad-contrib-0.16-DvL9AL6NkIOLLoMnKFiljH-ghc8.10.2.so: cannot open shared object file: No such file or directory
The only differing point is that this guy had
libHSxmonad-contrib-0.16-162Xj26iTDR2dVREmXC6Kn-ghc8.10.2.so
and I got
libHSxmonad-contrib-0.16-DvL9AL6NkIOLLoMnKFiljH-ghc8.10.2.so
and they're kinda the same, but well, they're not.
I made a post on the xmonad subreddit but I haven't found any answers for this issue.
Updated ghc, ghc-libs and ghc-static; error changed:
xmonad: error while loading shared libraries: libHSutf8-string-1.0.2-CkwPGvXHIXdEOOrPn2UOUp-ghc8.10.3.so: cannot open shared object file: No such file or directory
If anybody can help me but need some kind of logs (I'm pretty new to Arch just like 8 months in) just ask for it and i'll post the results.
(Also: if I'm not using linux, is because the last time I updated it stopped responding to my keyboard and touchpad unless I used a USB keyboard and mouse)
Edit: subreddit thread
]]>