[fpc-pascal]Postgresql unit

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Thu Mar 28 21:04:43 CET 2002

On Thu, 28 Mar 2002, Szymon Dowkontt wrote:

> Hello
> How to link programs with postgres unit? In README is written, that
> path to postgress libraries shud be placed in Makefile. But I completly
> don't know where place it in this file... :-(
> Currently postgres unit will compile, but while compiling test
> programs, there will not link with error "/usr/bin/ld: cannot find
> -lpq".

Add the path to libpq.so or libpq.a with the -Fl/path/to/it command-line


> Szymon
> _______________________________________________
> 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