[fpc-pascal]/usr/bin/ld: cannot find -lgd errorr
Marco van de Voort
marcov at stack.nl
Wed Oct 1 11:30:41 CEST 2003
> > file like gd.o, libgd.a, libpgd.ppu for? Are they
> > just
> > stubs? And what exactly do they do?
> May be the problem is that the linker can't find the
> corresponding header files of the actual library.
> I'm using Debian and the followng sequence of
> actions solves such problems:
> 1. Installing standart FreePascal system:
> apt-get install fp-compiler .... # install
> apt-get install binutils # install
> 2. Installing some actual library (postgresql as an
> apt-get install postgresql # PostgreSQL
> apt-get install postgresql-dev # header files for
> The last step (installing the *-dev package) is the
> solution (in my opinion) !
While this is correct (installing the dev package can fix these kind of
problems), what actually is needed from the dev packages are not the headers
but the static library (the .a file). The "normal" package (without -deve)
is the dynamic library (.so file)
More information about the fpc-pascal