Re: compile error in libpq program

From: John R Pierce <pierce(at)hogranch(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: compile error in libpq program
Date: 2010-10-22 07:28:33
Message-ID: 4CC13D21.2090202@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Uckun 2010-10-22 07:54:24 Re: Updates, deletes and inserts are very slow. What can I do make them bearable?
Previous Message Craig Ringer 2010-10-22 04:36:01 Re: COPY question