Hide Forgot
Description of problem: I can’t start xmonad since an update some weeks ago. Version-Release number of selected component (if applicable): xmonad-core-0.10-3.fc16.4.x86_64.rpm How reproducible: I enter “xmonad” in a terminal. Actual results: I get an error message: /home/erik/.xmonad/xmonad-x86_64-linux: error while loading shared libraries: libHSxmonad-contrib-0.9.2-ghc7.0.4.so: cannot open shared object file: No such file or directory Expected results: No error, just start xmonad. Additional info: I don’t know how to workaround this problem, but I need my machine, so for me it is urgent. PS: I will try the Fedora 17 alpha live system, if it has the same problem. And then report back.
Additional info: A file called /usr/lib64/ghc-7.0.4/xmonad-contrib-0.10/libHSxmonad-contrib-0.10-ghc7.0.4.so exists, so I don’t know why xmonad complains and how this got broken. No manual changes to the system.
Sorry you need to recompile your xmonad config for the version change. The easiest way to do that is $ xmonad --recompile which forces a recompilation. That should fix your issue. This kind of problem is the reason why I reverted the Fedora specific patch to xmonad to use dynamic instead of static linking. If we get to do this again we'd need to think about how to handle this problem in the future, but perhaps I should think about a workaround for your upgrade case.
(In reply to comment #2) > Sorry you need to recompile your xmonad config for the version change. > > The easiest way to do that is > > $ xmonad --recompile > > which forces a recompilation. That should fix your issue. Thank you very much. That fixed it. > If we get to do this again we'd need to think about how to handle > this problem in the future, but perhaps I should think about a > workaround for your upgrade case. Why not put a recompile command in the post of the rpm-update-package?
(In reply to comment #3) > Why not put a recompile command in the post of the rpm-update-package? We'd have to run it per user that runs xmonad.
> > Why not put a recompile command in the post of the rpm-update-package? > > We'd have to run it per user that runs xmonad. Right - perhaps it could be done in xmonad-start, though it could be a little messy.
I have added a fix in xmonad-0.10-7.fc18 such that xmonad-start (which normally starts xmonad in Fedora) will try to check if a user's custom binary has broken shared libs and if so touch xmonad.hs to force recompiling at startup. A test upgrade to pre-release F17 made me realise that this issue also affects people upgrading to F17 because of the gmp soname bump. I plan to backport the fix to F16 and F17 shortly.
xmonad-0.10-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xmonad-0.10-8.fc17
xmonad-0.10-3.5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/xmonad-0.10-3.5.fc16
Package xmonad-0.10-9.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xmonad-0.10-9.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8438/xmonad-0.10-9.fc17 then log in and leave karma (feedback).
xmonad-0.10-11.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
xmonad-0.10-3.7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.