sudo aptitude
Use aptitude to resolve problems with fpc installation (wrong version of binutils package).
Or dist-upgrade to raspbian jessie (I'm doing it while typing this, actually it is updating for a few hours now...veeery slow). In jessie repo you have fpc 2.6.2 and lazarus 1.2.4.