Re: Trouble linking with libpq

From: "Tim Barnard" <tbarnard(at)povn(dot)com>
To: "Robert J(dot) Sprawls" <rsprawls(at)telocity(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Trouble linking with libpq
Date: 2001-10-10 14:49:19
Message-ID: 003601c1519a$be5a7fe0$a519af3f@hartcomm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Did you include a -L option in the linker call that pointed to the library?
In my case I use -L/usr/local/pgsql/lib

Tim

----- Original Message -----
From: "Robert J. Sprawls" <rsprawls(at)telocity(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Sent: Friday, October 05, 2001 9:57 PM
Subject: Trouble linking with libpq

> Hi,
> I've tried for about two days now and I'm just not seeing whats wrong.
I
> used standard installation so the lib directory is /usr/local/pgsql/lib
and
> I'm using -llibpq, but for some odd reason, the linker is not seeing
libpq.
> Can someone point out where I'm going wrong? If you need more info, I can
> post a clipped version of the makefile, but this happens when doing
> command-line as well.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Vanderploeg 2001-10-10 16:19:14
Previous Message Michael Davis 2001-10-10 14:21:48 Re: normalization problem