[fpc-pascal] [fpc-1.9.6-0.x86_64] linking cthreads and dl
Florian Klaempfl
F.Klaempfl at gmx.de
Tue Jan 11 08:28:20 CET 2005
Henri Gourvest wrote:
> I'm trying to compile on suse 9.2 but when I use the "dl" unit and the
> "cthreads" unit the linker don't work.
> it can't find -ldl.
>
> I've tryed to use this compiler options without success:
>
> {$IFDEF FPC}
> {$IFDEF UNIX}
> {$IFNDEF BSD}
> {$linklib dl} {$ENDIF}
> {$linklib crypt}
> {$ENDIF}
>
> The problem seem to located in link.res at the end of the file:
> ...
> INPUT(
> -ldl
> -lpthread
> )
>
> Any idea ?
Do you have the development libraries of these packages installed?
More information about the fpc-pascal
mailing list