usr/bin/ld cannot find -lpthread lazarus / 1-Linux ---------------------------------------------------------------------- ledster · 2007-02-01 20:19 New installation in SUSE 10.2 of Lazarus 0.9.20. Compiling gives the error: usr/bin/ld cannot find -lpthread. I have done a search in the forums for lpthread and had a zero result. Can anyone help? Ches ---------------------------------------------------------------------- felipemdc · 2007-02-01 20:42 You probably need to install a package called libpthread-devel or similar name ---------------------------------------------------------------------- scazon · 2007-02-15 11:03 Did this problem get solved? I've got the same thing, and I can't find the package. ---------------------------------------------------------------------- ledster · 2007-02-15 15:29 Yes! Browsing the forum I found someone who had to change the widget set to GTK2 before Laz would compile. So I tried that. It was not a total solution, but the warnings changed to something I could sort out. As I recall, I had to add the gtk2-devel package (from the SUSE dvd) and it all worked. Incidentally, the l in lpthread just means library. In other words it wants library pthread (I think!) which must be available in gtk2/gtk2-devel. Good luck! Ches ps menu:- Project/Compiler Options - LCL widgetset ---------------------------------------------------------------------- crawdad · 2007-05-19 14:19 This is a note to say that i had the same problem with Opensuse, and that installing the gtk2-devel package cleared it right up. ---------------------------------------------------------------------- Kamau · 2013-01-03 21:30 Quote from: ledster on February 01, 2007, 09:19:08 pmNew installation in SUSE 10.2 of Lazarus 0.9.20. Compiling gives the error: usr/bin/ld cannot find -lpthread. I have done a search in the forums for lpthread and had a zero result. Can anyone help? Ches I know it is very late :-) but actually I got this problem on a Fedora installation. As it turned out there was a missing package. After installing glibc-devel everything was okay. Maybe that can be of user for somebody, who searches the internet for an answer. /Kamau