Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 03:52:10PM -0300, Leonardo M. Ramé wrote: El 21/08/14 a las 14:44, Péter Gábor escibió: Hello! If you try static linking with a library you need the development package of it which contains the required binary statements/codes/records for the static linking. For

Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Péter Gábor
When I wrote something similar I meant the names to be similar. Also try to find pthread related files with the following command (start it with sudo to avoid access denied messages): find / -iname libpthread* Read the output: binary files intended for development usage (eg. static linking) has

Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Joost van der Sluis
On 08/21/2014 05:22 PM, Leonardo M. Ramé wrote: /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 Does

Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Reimar Grabowski
On Thu, 21 Aug 2014 12:22:45 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Does anyone know which package I'm missing? I've installed build-essential and libpthread-stubs0, but it still cannot find pthread... The package 'libc6-dev' provides 'libpthread.so' on Ubuntu. hih R. --

[Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
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

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
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

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 04:34:03PM +0100, Henry Vermaak wrote: 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

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
El 21/08/14 a las 12:34, Henry Vermaak escibió: 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?

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 12:38:02PM -0300, Leonardo M. Ramé wrote: Here's the result, apparently it is already installed: libc6: /lib/x86_64-linux-gnu/libpthread.so.0 libc6-arm64-cross: /usr/aarch64-linux-gnu/lib/libpthread.so.0 libc6-armel-armhf-cross:

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Péter Gábor
Hello! If you try static linking with a library you need the development package of it which contains the required binary statements/codes/records for the static linking. For example: libpthread-stubs0-dev or libpthread-dev or something similar... 2014-08-21 17:38 keltezéssel, Leonardo M. Ramé

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
El 21/08/14 a las 14:44, Péter Gábor escibió: Hello! If you try static linking with a library you need the development package of it which contains the required binary statements/codes/records for the static linking. For example: libpthread-stubs0-dev or libpthread-dev or something similar...