[xmonad] Xinerama ld problem

Norbert Zeh nzeh at cs.dal.ca
Fri Mar 12 04:04:15 EST 2010


Eric Thomas [2010.03.11 0937 -0500]:
> Hello all,
> 
> I have just gotten xmonad installed and am very pleased with using it.
> However, when trying to edit my xmonad.hs config file with a very vanilla
> setup (
> http://www.xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Doc-Configuring.html#2),
> I receive the following error when issuing "xmonad --recompile".
> 
> Error detected while loading xmonad configuration file:
> /home/eric/.xmonad/xmonad.hs
> /usr/bin/ld: cannot find -lXinerama
> collect2: ld returned 1 exit status
> 
> Please check the file for errors.
> 
> 
> I definitely have xinerama installed because it works fine with other window
> managers. Furthermore, it works just fine with xmonad as well (I can drag
> windows from one screen to the other screen with no problem).
> 
> So anybody have any idea as to what's going on here?

I suspect you have the runtime libraries for Xinerama installed but not
the development files.  On Debian, you want libxinerama-dev installed.

Cheers,
Norbert


More information about the xmonad mailing list