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

From: TAKATSUKA Haruka <harukat(at)sraoss(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 05:16:32
Message-ID: 20100405141632.1c422a8d.harukat@sraoss.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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message TAKATSUKA Haruka 2010-04-05 06:04:24 contrib check fail at pgcrypto on Windows Server 2008 64bit 9.0dev (HEAD near alpha5)
Previous Message Takahiro Itagaki 2010-04-05 04:37:33 VACUUM FULL during initdb