BUG #4659: Can't configure static postgresql with static openssl - Mailing list pgsql-bugs

From Tomasz Kolaj
Subject BUG #4659: Can't configure static postgresql with static openssl
Date
Msg-id 200902161028.n1GAS584091085@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4659
Logged by:          Tomasz Kolaj
Email address:      migo@abp.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?

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers
Next
From: toruvinn
Date:
Subject: Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers