BUG #4659: Can't configure static postgresql with static openssl

From: "Tomasz Kolaj" <migo(at)abp(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4659: Can't configure static postgresql with static openssl
Date: 2009-02-16 10:28:05
Message-ID: 200902161028.n1GAS584091085@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4659
Logged by: Tomasz Kolaj
Email address: migo(at)abp(dot)pl
PostgreSQL version: 8.3.6
Operating system: Windows XP (SP2) on Mingw32
Description: Can't configure static postgresql with static openssl
Details:

I want to compile static aplication for Windows (with out any dependencies)

I compiles openssl with options:
./config no-shared zlib mingw

that builds two libs: libcrypto.a and libssl.a
(I checked docs, libeay32 will generated at shared version of openssl)

Next I run configure of postgresql:
./configure --with-openssl --disable-shares
--with-includes=/local/ssl/inclide/ --with-libraties=/local/ssl/lib

but configure shows:
checking for CRYPTO_new_ex_data in -leay32... no
configure: error: library 'eay32' is required for OpenSSL

so how can i build static postgres with static openssl?

Browse pgsql-bugs by date

  From Date Subject
Next Message ITAGAKI Takahiro 2009-02-16 11:50:48 BUG #4660: float functions return -0
Previous Message Heikki Linnakangas 2009-02-16 10:18:21 Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers