Re: Error in making Example Program - Mailing list pgsql-general

From Larry Rosenman
Subject Re: Error in making Example Program
Date
Msg-id 20010724075814.A12036@lerami.lerctr.org
Whole thread Raw
In response to Error in making Example Program  (Igor <dbmanager@osb368.nnov.ru>)
List pgsql-general
* Igor <dbmanager@osb368.nnov.ru> [010724 03:15]:
> Hello!
>
> Help me please. What i'm doing wrong? I just typed 'make'
> in ../src/test/examples directory, and got such a messages:
>
> /tmp/ccMibKh6.o(.text+0x1de): undefined reference to `PQexec'
> /tmp/ccMibKh6.o(.text+0x1e6): undefined reference to `PQclear'
> /tmp/ccMibKh6.o(.text+0x1f4): undefined reference to `PQexec'
> /tmp/ccMibKh6.o(.text+0x1fc): undefined reference to `PQclear'
> /tmp/ccMibKh6.o(.text+0x205): undefined reference to `PQfinish'
> collect2: ld returned 1 exit status
> make: *** [testlibpq] Error 1
>
you aren't including -lpq.

Larry
>
>
> Thanks for any suggestions.
>
> Igor
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-general by date:

Previous
From: Weiping He
Date:
Subject: Re: Re: PG rules!
Next
From: "Richard Huxton"
Date:
Subject: Re: Bad timestamp external representation