Greetings,
Is it possible to compile a C program that uses libpg as a static program?
I tried the obvious:
# gcc -I../pgsql/include -L../pgsql/lib -static -o test test.c -lpq
This is my error:
ld: No reference to __DYNAMIC
I'm using gcc-2.7.2.1 on FreeBSD-2.2.6-Release and PG-6.3.2
Any insight would be greatly appreciated. Also, please to cc me, as I am
not yet on the list.
Thanks,
Matthew