Re: Can't link to libpq

From: "Jim Morcombe" <jim(at)byronics(dot)com(dot)au>
To: "pgsql General" <pgsql-general(at)postgresql(dot)org>, "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
Subject: Re: Can't link to libpq
Date: 2002-07-19 08:50:03
Message-ID: 008801c22f01$49deb4c0$526567cb@BYRONICS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, libpq.so exists and is in /usr/local/pgsql/lib
All of the permissions are okay.
It was a symbolic link. Just to make sure, I renamed libpq2.2.so tp be
libpq.so,
but it made no difference.

Jim

----- Original Message -----
From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Jim Morcombe <jim(at)byronics(dot)com(dot)au>
Cc: pgsql General <pgsql-general(at)postgresql(dot)org>
Sent: Friday, July 19, 2002 4:01 PM
Subject: Re: [GENERAL] Can't link to libpq

> 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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2002-07-19 08:50:52 Re: Tom, I've got an emergency - please help me
Previous Message Cserna Zsolt 2002-07-19 08:27:33 sequence scan, but indexed tables