Re: [GENERAL] Questions about libpq! - Mailing list pgsql-general

From Oleg Broytmann
Subject Re: [GENERAL] Questions about libpq!
Date
Msg-id Pine.SOL2.3.96.SK.990419173354.10832A-100000@sun.med.ru
Whole thread Raw
In response to Questions about libpq!  ("Anna Langer" <anna_langer@hotmail.com>)
List pgsql-general
Hello!

   All these functions are from libpq. Just link with libpq. Example:

gcc mytest.c -o mytest.exe -lpq

   Note: -lpq

On Mon, 19 Apr 1999, Anna Langer wrote:
> We are having some problems with trying to run one of the examples
> that are in the manuale.
>
> This is the output that we get and we can't find any library that
> contains these functions.
>
> /tmp/cca010701.o: In function `exit_nicely':
> /tmp/cca010701.o(.text+0x8): undefined reference to `PQfinish'
> /tmp/cca010701.o: In function `main':
> /tmp/cca010701.o(.text+0x6d): undefined reference to `PQsetdbLogin'
> /tmp/cca010701.o(.text+0x7e): undefined reference to `PQstatus'
> /tmp/cca010701.o(.text+0xa7): undefined reference to `PQerrorMessage'
> /tmp/cca010701.o(.text+0xd9): undefined reference to `PQexec'
> /tmp/cca010701.o(.text+0xf0): undefined reference to `PQresultStatus'
> /tmp/cca010701.o(.text+0x117): undefined reference to `PQclear'
> /tmp/cca010701.o(.text+0x12f): undefined reference to `PQclear'
> /tmp/cca010701.o(.text+0x14b): undefined reference to `PQconsumeInput'
> /tmp/cca010701.o(.text+0x157): undefined reference to `PQnotifies'
> /tmp/cca010701.o(.text+0x1a1): undefined reference to `PQfinish'
>
>
> Please help us!
>
> Anna and Maria
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>

Oleg.
----
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.


pgsql-general by date:

Previous
From: "Anna Langer"
Date:
Subject: Questions about libpq!
Next
From: JT Kirkpatrick
Date:
Subject: problem when vacuuming. . .