Linker message: cannot find -l

From Lazarus wiki
Revision as of 18:51, 17 May 2006 by Mattias2 (talk | contribs)
Jump to navigationJump to search

For example:

 /usr/bin/ld: cannot find -lgdk

This means an external library was not found. In the above case under Linux it means the libgdk.so or libgdk.a was not found. Normally this means, you forgot to install the development package of this library. In the case of gdk the package is called under the Fedora Core distribution: 'gtk+-devel-1.2.10-33'.

SuSE

[Lazarus_Faq#I_have_SuSE_and_I_get_.2Fusr.2Fbin.2Fld:_cannot_find_-lgtk_Error:_Error_while_linking]