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 compi

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 -rpat

Re: [GENERAL] compile error

2001-04-02 Thread Tom Lane
Soma Interesting <[EMAIL PROTECTED]> writes: > ERROR: Load of file /usr/lib/pgsql/lib/plperl.so failed: libperl.so: > cannot open shared object file: No such file or directory. Is libperl.so known to your dynamic linker? It has to be found via LD_LIBRARY_PATH, /etc/ld.so.conf, or local equival

Re: [GENERAL] compile error

2001-04-02 Thread Soma Interesting
At 06:38 PM 4/2/2001 -0400, you wrote: >Soma Interesting <[EMAIL PROTECTED]> writes: > > Judging by the mailing list archives, lots of people have ran into this, > > but none received answers. > >You must not have looked in the right threads. > >If you're building interfaces/perl5 by hand (ie, not

Re: [GENERAL] compile error

2001-04-02 Thread Tom Lane
Soma Interesting <[EMAIL PROTECTED]> writes: > Judging by the mailing list archives, lots of people have ran into this, > but none received answers. You must not have looked in the right threads. If you're building interfaces/perl5 by hand (ie, not letting src/interfaces/Makefile do it for you)

Re: [GENERAL] compile error

2001-04-02 Thread Soma Interesting
At 11:03 AM 4/2/2001 -0700, you wrote: >linking ./include/port to interfaces/odbc/port >mkdir: cannot create directory `interfaces/odbc': No such file or directory >ln: ./include/port: hard link not allowed for directory >configure: error: can not link interfaces/odbc/port to ./include/port Ok, t