You are not logged in.
Pages: 1
Topic closed
Well, I've been struggling the last few months since the last time I fully updated my laptop.
In the forum, I found this topic and this person had the same exact error:
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
Last edited by b0ss_ (2021-04-01 04:57:12)
Offline
https://wiki.archlinux.org/index.php/Xm … ter_update
You need to recompile xmonad after every ghc/haskell update.
Offline
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.
Last edited by b0ss_ (2021-01-16 21:30:18)
Offline
$ 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
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ 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
Offline
Tried to
xmonad --recompile
in both root and sudo. Just to clarify
That needs to be run as your ordinary user.
Offline
Same problem
Offline
Do you have an environment redirecting your haskell libraries away from the repo packages like stack or ghcup? Did you run the ghc-pkg recache command from my link yet?
Last edited by V1del (2021-01-24 13:32:04)
Offline
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.
Offline
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.
Offline
Closing this old thread.
Offline
Pages: 1
Topic closed