I attempted to build Lazarus (http://www.lazarus.freepascal.org) from source, and came upon problems caused by the lack of a config file specifiying paths to the run time library (/etc/fpc.cfg). The solution to this is to create a fpc.cfg file with the following 3 lines -Fu/usr/lib/fpc/1.9.4/units/linux -Fu/usr/lib/fpc/1.9.4/units/linux/* -Fu/usr/lib/fpc/1.9.4/units/linux/rtl I found the solution via http://lazarus-ccr.sourceforge.net/index.php?wiki=LazarusFaq Reproducible: Always Steps to Reproduce: 1. 2. 3.
There is a tool included in all fpc distributions which generates those config files very nicly. More recent ebuilds (I'm going to submit them for having lazarus in portage) will make use of it.
fpc-2.0.0_rc2 fixes this issue.
please close this.
Bug was fixed