Clean build MINGW64 CreateProcessAsUserA could not be located

From: Yannick Collette <yannickcollette(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Clean build MINGW64 CreateProcessAsUserA could not be located
Date: 2021-03-01 19:28:38
Message-ID: CADTm7M_aPWiep36kZnE82iGWzxwzV0P5Kiwz+XWk=tLuWU_4tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have compiled postgres 11.11 using the following configuration without
errors.

# 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 without errors
make install without errors also.

initdb.exe error
The procedure entry point CreateProcessAsUserA could not be located in
dynamic link library...

Found related bug and applied solution 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

https://www.postgresql-archive.org/BUG-16774-PostgreSQL-clean-build-MINGW64-gcc-but-initdb-fails-cannot-find-startadress-CreateProcessAA-td6167336.html

Thanks in advance for your inputs.

Yannick

Browse pgsql-general by date

  From Date Subject
Next Message Brajendra Pratap Singh 2021-03-02 08:46:23 Pgbackrest version 2.28 Bug/Issue
Previous Message Michael Lewis 2021-03-01 16:08:19 Re: Batch update million records in prd DB