contrib check fail at pgcrypto on Windows Server 2008 64bit 9.0dev (HEAD near alpha5)

From: TAKATSUKA Haruka <harukat(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: contrib check fail at pgcrypto on Windows Server 2008 64bit 9.0dev (HEAD near alpha5)
Date: 2010-04-05 06:04:24
Message-ID: 20100405150424.303911cf.harukat@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, all.

I built pgsql with following regulation (for buildfarm new entry).
- Windows Server 2008 64bit
- VC2005
- 9.0dev (HEAD near alpha5) 64bit

And I got a fail at "vcregress contribcheck" about only pgcrypto.
All CREATE FUNCTION of pgcrypto got ERROR.
(It passed "vcregress check")

STATEMENT: CREATE OR REPLACE FUNCTION decrypt_iv(bytea, bytea, bytea, text)
RETURNS bytea
AS '$libdir/pgcrypto', 'pg_decrypt_iv'
LANGUAGE C IMMUTABLE STRICT;
ERROR: could not load library "C:/Users/Administrator/mhome/pgsql-inst/lib/pgcrypto.dll": The specified module could not be found.

I tried LOAD command following:

test=# LOAD 'sslinfo.dll';
LOAD
test=# LOAD 'pgcrypto.dll';
ERROR: could not load library "C:/Users/Administrator/mhome/pgsql-inst/lib/pgcrypto.dll": The specified module could not be found.

I traced it with VC2005 debugger.
API "LoadLibrary" was called (and return NULL).
DLL's "DllMain" was not called in case of "pgcrypto.dll".

Is there any idea ?

config.pl
---------
use strict;
use warnings;
our $config = {
platform=>'x64',
asserts=>1,
ldap=>1,
nls=>undef, tcl=>undef, perl=>undef, python=>undef, krb5=>undef,
openssl=>'c:\OpenSSL',
uuid=>undef, xml=>undef, xslt=>undef, iconv=>undef,
zlib=>'c:\zlib'
};
1;

______________________________________________________________________
TAKATSUKA Haruka <harukat(at)sraoss(dot)co(dot)jp>
SRA OSS, Inc. Japan http://www.sraoss.co.jp/index_en.php

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2010-04-05 06:18:06 Re: walreceiver is uninterruptible on win32
Previous Message TAKATSUKA Haruka 2010-04-05 05:16:32 contrib check fail at pgcrypto on Windows Server 2008 64bit 9.0dev (HEAD near alpha5)