[fpc-pascal] A linking error when compiling with FPC 2.4.4

Luciano de Souza luchyanus at gmail.com
Mon Oct 31 11:58:48 CET 2011


Everything is solved with a magic: "sudo apt-get install libsqlite3-dev".

I tested the same example and the executable was generated.

Thank you. Your reply helped me a lot!


Em 31-10-2011 08:45, Jonas Maebe escreveu:
> On 31 Oct 2011, at 11:27, Luciano de Souza wrote:
>
>> The executable was not generated. In its place, I found "link.res". The compilation was successful, but for a unknown reason, the linkage was not completed. I don't understand what the statements in link.res means indeed.
>> In spite of the output redirection, a  statement was writen in console in stead of the output file.
>>
>> Cannot find -lsqlite3
> sqlite3 is not part of FPC. You probably have to install the sqlite3-dev package or something like that. Arguably, that should be a dependency of the fpc .deb package that installs support for interfacing with sqlite3.
>
>
> Jonas_______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list