Re: [GENERAL] compile error in libpq program

2010-10-22 Thread John R Pierce
On 10/21/10 9:14 PM, zab08 wrote: more detail? I don't understand. please send responses to the mail list so others can contribute. libpq is only one piece of postgres, and building it has to be done in the context of the rest of the postgres build environment, you can't just manually

[GENERAL] compile error in libpq program

2010-10-21 Thread zab08
I use this command to compile the libpq.c. cc -I /opt/PostgreSQL/8.4/include -o libpq libpq.c -L /opt/PostgreSQL/8.4/lib -lpq but I get these error: /usr/bin/ld: warning: libssl.so.4, needed by /opt/PostgreSQL/8.4/lib/libpq.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning:

Re: [GENERAL] compile error in libpq program

2010-10-21 Thread John R Pierce
On 10/21/10 5:24 PM, zab08 wrote: I use this command to compile the libpq.c. *cc -I /opt/PostgreSQL/8.4/include -o libpq libpq.c -L /opt/PostgreSQL/8.4/lib -lpq* * * but I get these error: /usr/bin/ld: warning: libssl.so.4, needed by /opt/PostgreSQL/8.4/lib/libpq.so, not found (try using