Re: question - Mailing list pgsql-general

From Alfred Perlstein
Subject Re: question
Date
Msg-id 20001215145741.K19572@fw.wintelcom.net
Whole thread Raw
In response to Re: question  (Sandeep Joshi <sjoshi@Zambeel.com>)
List pgsql-general
* Sandeep Joshi <sjoshi@Zambeel.com> [001215 14:54] wrote:
> ld -shared -o db1trig.so db1trig.o -L/work/posgresql/lib -static -lpq
>
> Using above link line I was able to link and load the library but I get
> following error
> ERROR:  conneciton bad.

I think using both -shared and -static is an error, you might try
linking to /work/posgresql/lib/libpq.a or try without as well.


pgsql-general by date:

Previous
From: Sandeep Joshi
Date:
Subject: Re: question
Next
From: Sandeep Joshi
Date:
Subject: Re: question