[Lazarus] Cannot find -lpthread

"Leonardo M. Ramé" l.rame at griensu.com
Thu Aug 21 17:38:02 CEST 2014


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?
>> /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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>

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: /usr/arm-linux-gnueabihf/libsf/libpthread.so.0
libc6-armel-cross: /usr/arm-linux-gnueabi/lib/libpthread.so.0
libc6-armhf-armel-cross: /usr/arm-linux-gnueabi/libhf/libpthread.so.0
libc6-armhf-cross: /usr/arm-linux-gnueabihf/lib/libpthread.so.0
libc6-dev: /usr/lib/x86_64-linux-gnu/libpthread.so
libc6-dev-arm64-cross: /usr/aarch64-linux-gnu/lib/libpthread.so
libc6-dev-armel-armhf-cross: /usr/arm-linux-gnueabihf/libs/libpthread.so
libc6-dev-armel-cross: /usr/arm-linux-gnueabi/lib/libpthread.so
libc6-dev-armhf-armel-cross: /usr/arm-linux-gnueabi/libhf/libpthread.so
libc6-dev-armhf-cross: /usr/arm-linux-gnueabihf/lib/libpthread.so
libc6-dev-i386: /usr/lib32/libpthread.so
libc6-dev-powerpc-cross: /usr/powerpc-linux-gnu/lib/libpthread.so
libc6-dev-ppc64-powerpc-cross: /usr/powerpc-linux-gnu/lib6/libpthread.so
libc6-dev-ppc64el-cross: /usr/powerpc64le-linux-gnu/lib/libpthread.so
libc6-dev-x32: /usr/libx32/libpthread.so
libc6-i386: /lib32/libpthread.so.0
libc6-powerpc-cross: /usr/powerpc-linux-gnu/lib/libpthread.so.0
libc6-ppc64-powerpc-cross: /usr/powerpc-linux-gnu/lib64/libpthread.so.0
libc6-ppc64el-cross: /usr/powerpc64le-linux-gnu/lib/libpthread.so.0
libc6-x32: /libx32/libpthread.so.0

Any hint?

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list