mike wrote:
>
> "cc -O -o pgsample pgsample.c -L/usr/local/pgsql/lib -lpq" went thru.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You have to put the marked part into the rule for the linker.
With kind regards / Mit freundlichem Gruß
Holger Klawitter
--
Holger Klawitter
holger(at)klawitter(dot)de http://www.klawitter.de