On Saturday, 14 July 2012 at 12:55:21 UTC, Minas Mina wrote: > Try -L-lX11 Yeah I was already linking X11. The problem was the binding, it defined a function that was never defined in the original c header, so it would not be able to find the function anywhere. Commenting the defs out in the binding solved it for me.