You are not logged in.

#1 2021-01-16 03:43:59

b0ss_
Member
Registered: 2021-01-16
Posts: 83

[SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

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

#2 2021-01-16 09:32:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,310

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

https://wiki.archlinux.org/index.php/Xm … ter_update

You need to recompile xmonad after every ghc/haskell update.

Offline

#3 2021-01-16 21:26:29

b0ss_
Member
Registered: 2021-01-16
Posts: 83

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

V1del wrote:

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

#4 2021-01-16 22:08:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,983

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

$ 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

Online

#5 2021-01-16 22:47:20

b0ss_
Member
Registered: 2021-01-16
Posts: 83

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

Lone_Wolf wrote:
$ 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 hmm

Tried to

xmonad --recompile

in both root and sudo. Just to clarify smile

Offline

#6 2021-01-18 12:00:37

owain
Member
Registered: 2009-08-24
Posts: 251

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

b0ss_ wrote:

Tried to

xmonad --recompile

in both root and sudo. Just to clarify smile

That needs to be run as your ordinary user.

Offline

#7 2021-01-24 13:28:25

Moliendo
Member
Registered: 2021-01-24
Posts: 1

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

Same problem

Offline

#8 2021-01-24 13:30:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,310

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

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

#9 2021-04-01 04:56:12

b0ss_
Member
Registered: 2021-01-16
Posts: 83

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

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

#10 2023-01-07 19:58:44

tatertot
Member
Registered: 2023-01-03
Posts: 4

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

b0ss_ wrote:

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

#11 2023-01-07 23:28:09

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] XMonad doesn't starts after 'pacman -Syu' (LXDM)

Closing this old thread.

Offline

Board footer

Powered by FluxBB