Re: Can't link to libpq - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Can't link to libpq
Date
Msg-id 1027065687.32691.354.camel@linda
Whole thread Raw
In response to Can't link to libpq  ("Jim Morcombe" <jim@byronics.com.au>)
List pgsql-general
On Fri, 2002-07-19 at 07:15, Jim Morcombe wrote:

> I then compile it with the instruction
>     cc -o jim jim.o -L/usr/local/pgsql/lib -lpq
>
> However, I get the following errors:
>
> Undefined symbol
...
> The manual says this occurs if I forgot the -lpq option, which I have not done.

Does libpq.so exist in /usr/local/pgsql/lib?  It should be a symbolic
link; does its target exist?

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Blessed is the man that trusteth in the LORD, and
      whose hope the LORD is."            Jeremiah 17:7


pgsql-general by date:

Previous
From: "Sam Liddicott"
Date:
Subject: Re: Startup death!
Next
From: Curt Sampson
Date:
Subject: Re: OIDs (Or: another RTFM question?)