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

Michael Van Canneyt michael at freepascal.org
Mon Oct 31 12:10:12 CET 2011



On Mon, 31 Oct 2011, Jonas Maebe wrote:

>
> 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.

I advise against this.

This would add a whole list of unwanted dependencies to e.g. lazarus since it installs 
support for many databases by default. It loads the needed libraries on-demand; 
if someone needs it, he/she can install the needed libraries with the package-manager.

Michael.



More information about the fpc-pascal mailing list