Re: 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 <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: contrib check fail at pgcrypto on Windows Server 2008 64bit 9.0dev (HEAD near alpha5)
Date: 2010-04-05 12:41:19
Message-ID: 20100405214119.422fd44d.harukat@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus, Thanks your help.

When I set 64bit version of zlib1.dll, msvcr80.dll and msvcr90.dll into
Windows\system32 directory correctiry, it run well.
(Perhaps I did copy with MSYS's "cp command that does not work on
system directory.)

On Mon, 5 Apr 2010 11:44:53 +0200
Magnus Hagander <magnus(at)hagander(dot)net> wrote:

> On Mon, Apr 5, 2010 at 07:16, TAKATSUKA Haruka <harukat(at)sraoss(dot)co(dot)jp> wrote:
> > 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.
(snip)
> > 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 ?
>
> What do you get if you run "depends" on pgcrypto.dll?
>
> Due to "smart linking" or whatever they call it, it may be that
> sslinfo is only pulling in one of the two OpenSSL DLL files, and the
> other one is fialing pehaps?
>
> I assume you've tried this on a clean sourcetree so it's not just some
> weird leftover or mismaatch between 32 and 64-bit?

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-05 14:11:44 Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c
Previous Message Mokhtari Amine 2010-04-05 12:27:43 Re: conference for article