From: Yaco312 <yannick.collette@ultra-ft.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #16774: PostgreSQL clean build MINGW64 gcc but initdb fails, cannot find startadress CreateProcessAsUserA
Date: Mon, 8 Mar 2021 08:57:02 -0700 (MST)
Message-ID: <1615219022232-0.post@n3.nabble.com> (raw)
In-Reply-To: <f12f0cba-f174-34e7-633b-793da6376a33@gmail.com>
References: <16774-5fc947628f64c057@postgresql.org>
<f12f0cba-f174-34e7-633b-793da6376a33@gmail.com>
Hello,
I have the exact same problem with REL_11_STABLE using the following
configuration. No errors at compilation. Tried your work around and still
having same problem.
# gcc --version
gcc.exe (Rev6, Built by MSYS2 project) 10.2.0
./configure --host=x86_64-w64-mingw32 --prefix=/c/postgresql/pg11/
--with-openssl --with-libxml
make (no errors)
make install (no errors)
initdb.exe error
The procedure entry point CreateProcessAsUserA could not be located in
dynamic link library...
Applied solution below without any success.
CFLAGS="-D WINVER=0x0600 -D _WIN32_WINNT=0x0600" LIBS="-ladvapi32"
./configure --host=x86_64-w64-mingw32 --prefix=/c/postgresql/pg11/
--with-openssl --with-libxml
Thanks in advance for your help.
Yannick
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: yannick.collette@ultra-ft.com
Subject: Re: BUG #16774: PostgreSQL clean build MINGW64 gcc but initdb fails, cannot find startadress CreateProcessAsUserA
In-Reply-To: <1615219022232-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox