[Lazarus] Cannot find -lpthread

Henry Vermaak henry.vermaak at gmail.com
Thu Aug 21 17:34:03 CEST 2014


On Thu, Aug 21, 2014 at 12:22:45PM -0300, "Leonardo M. Ramé" wrote:
> Hi, I'm trying to build fpc and lazarus from sources in XUbuntu
> 14.04. While trying to link fpc I get this:
> 
> /usr/bin/ld: aviso: link.res contiene secciones de salida. ¿Olvidó -T?
> /usr/bin/ld: no se puede encontrar -lpthread
> /usr/bin/ld: no se puede encontrar -ldl
> /usr/bin/ld: no se puede encontrar -lc
> fpmake.pp(44,1) Error: Error while linking

These are generally in libc6-dev, but that should be pulled in by
build-essential.

Try installing apt-file and using:

apt-file search libpthread.so

Henry




More information about the Lazarus mailing list