Re: question

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Sandeep Joshi <sjoshi(at)Zambeel(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question
Date: 2000-12-15 22:57:41
Message-ID: 20001215145741.K19572@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Sandeep Joshi <sjoshi(at)Zambeel(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sandeep Joshi 2000-12-15 23:12:50 Re: question
Previous Message Sandeep Joshi 2000-12-15 22:49:16 Re: question