RE: libpq compile error - Mailing list pgsql-general

From Olivier Cherrier
Subject RE: libpq compile error
Date
Msg-id BB863FBA3E3CAE4DAC430686AD28EA5603891E@brisefer.cediti.be
Whole thread Raw
In response to libpq compile error  (Olivier Cherrier <Olivier.Cherrier@cediti.be>)
List pgsql-general
>
>
>
>
>gcc -o testlibpq testlibpq.c -Iinclude_dir -Llib_dir -lpq
>
>include_dir is the directory containing pgsql header files (*.h).
>lib_dir is the directory containing pgsql libraries (eg. libpq.so)
>
>You can locate the libdir by find / -name 'libpq.so*'

OK. Now, it works fine!

Thanks a lot for your beautiful help.

Olivier

>
>- Einar Karttunen
>
>
>

pgsql-general by date:

Previous
From: Marc SCHAEFER
Date:
Subject: Re: foreign keys constraints, depending on each other
Next
From: Marc SCHAEFER
Date:
Subject: Re: foreign keys constraints, depending on each other