You need to compile the interfaces unit for gtk2.
In Lazarus, choose Tools -> Configure build Lazarus.
Set LCL to build and all others to none, uncheck the "Clean all" checkbox and choose the gtk2 LCL interface.
Close the dialog with OK.
Choose Tools -> Build Lazarus.
And try compiling you applocation again.