Difference between revisions of "Linker message: cannot find -l"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
{{Linker message: cannot find -l}}
 
{{Linker message: cannot find -l}}
  
For example:
+
See instead: [[Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E]]
  /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 ==
 
 
 
SuSE installs the gtk devel libs under /opt/gnome/lib (or /opt/gnome/lib64 for 64 bits), which is not in the standard lib path. Simply add it to your /etc/fpc.cfg. (-Fl/opt/gnome/lib).
 
  
 
== FAQ ==
 
== FAQ ==
  
 
See also: [[Lazarus Faq]]
 
See also: [[Lazarus Faq]]

Revision as of 14:45, 31 December 2010