[Lazarus] Cannot find -lpthread
Henry Vermaak
henry.vermaak at gmail.com
Fri Aug 22 10:45:38 CEST 2014
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 example: libpthread-stubs0-dev or libpthread-dev or something similar...
> >
>
> Yes I have installed libpthread-stubs0-dev (libpthread-dev does not
> exists here), but the error persists. I need to know what is that
> "something similar" package needed by fpc...
The pthread stubs package won't help you. Where is libpthread.so on
your system? Back in the early days of multilib I had to add a search
path to fpc with -XR, but that's worked for a long time now.
Henry
More information about the Lazarus
mailing list