>
>
>
>
>gcc -o testlibpq testlibpq.c -Iinclude_dir -Llib_dir -lpq
>
>include_dir is the directory containing pgsql header files (*.h).
>lib_dir is the directory containing pgsql libraries (eg. libpq.so)
>
>You can locate the libdir by find / -name 'libpq.so*'
OK. Now, it works fine!
Thanks a lot for your beautiful help.
Olivier
>
>- Einar Karttunen
>
>
>