From: TAKATSUKA Haruka on
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(a)sraoss.co.jp>
SRA OSS, Inc. Japan http://www.sraoss.co.jp/index_en.php


--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers