Re: Error in making Example Program

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Igor <dbmanager(at)osb368(dot)nnov(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error in making Example Program
Date: 2001-07-24 12:58:15
Message-ID: 20010724075814.A12036@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Igor <dbmanager(at)osb368(dot)nnov(dot)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(at)postgresql(dot)org
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2001-07-24 12:58:29 Re: Bad timestamp external representation
Previous Message Weiping He 2001-07-24 12:07:05 Re: Re: PG rules!