Re: Trouble linking with libpq - Mailing list pgsql-interfaces

From lbayuk@mindspring.com (ljb)
Subject Re: Trouble linking with libpq
Date
Msg-id 9po8ro$1td5$1@news.tht.net
Whole thread Raw
List pgsql-interfaces
rsprawls@telocity.com wrote:
>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.

Use -lpq not -llibpq. Blame history for this weirdness.


pgsql-interfaces by date:

Previous
From: "Jeroen T. Vermeulen"
Date:
Subject: C++ frontend
Next
From: Christof Petig
Date:
Subject: Re: libECPG: Warning: get descriptor: 7.1 and 7.2 arenot