Re: compile error in libpq program - Mailing list pgsql-general

From John R Pierce
Subject Re: compile error in libpq program
Date
Msg-id 4CC13D21.2090202@hogranch.com
Whole thread Raw
In response to compile error in libpq program  (zab08 <zab08@126.com>)
List pgsql-general
On 10/21/10 9:14 PM, zab08 wrote:
>
> more detail? I don't understand.

please send responses to the mail list so others can contribute.

libpq is only one piece of postgres, and building it has to be done in
the context of the rest of the postgres build environment, you can't
just manually compile it standalone and expect sane results.   before
you compile any of the postgres components, you run the ./configure
script in the top level postgres directory with the appropriate options
for your envinronment, this sets up the proper build environment,
including various libraries such as libssl and libcrypto.  Your compile
failed because it didn't know where these libraries are.

if you want to just compile libpq, and not the rest of postgres, I would
first run './configure' with proper options in the top directory, then
'cd src/interfaces/libpq ' and run 'make' there.




pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: COPY question
Next
From: Tim Uckun
Date:
Subject: Re: Updates, deletes and inserts are very slow. What can I do make them bearable?