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

Marco van de Voort marcov at stack.nl
Mon Oct 31 12:41:09 CET 2011


In our previous episode, Jonas Maebe said:
> > On Mon, 31 Oct 2011, Jonas Maebe wrote:
> > 
> >> 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.
> 
> Afaik it is already the case for most FPC .debs as shipped with Debian
> (there have been plenty of discussions about that in the past).  It's how
> Debian tries to prevent problems like the one in this thread.  Doing it in
> most cases but not in all is however worse than either doing it always or
> never doing it.

It is a problem if in FPC's case the common use is the "other" one (via
fcl-db that uses the dynloaded variants)

If this is really needed, we probably need to make the package granularity
finer. (-dyn and static in separate packages, so that the static one alone
gets the dependency. Lazarus then only depends on the dyn packages).

However this is a challenge for fpmake probably, packages that share source
?



More information about the fpc-pascal mailing list