Error building for 64-bit Windows (10)
The Post Office <noreply@postgresql.org>
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: brian.y.ye@gmail.com
Date: 2021-05-17T20:07:02Z
Lists: pgsql-docs
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/13/install-windows-full.html
Description:
The Solution.pm file has the following lines:
if ($self->{options}->{gss})
{
$proj->AddIncludeDir($self->{options}->{gss} . '\inc\krb5');
$proj->AddLibrary($self->{options}->{gss} . '\lib\i386\krb5_32.lib');
$proj->AddLibrary($self->{options}->{gss} .
'\lib\i386\comerr32.lib');
$proj->AddLibrary($self->{options}->{gss} .
'\lib\i386\gssapi32.lib');
}
I had to change them to the following or the compiling failed:
if ($self->{options}->{gss})
{
$proj->AddIncludeDir($self->{options}->{gss} . '\include');
$proj->AddIncludeDir($self->{options}->{gss} . '\include\krb5');
$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\krb5_64.lib');
$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\comerr64.lib');
$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\gssapi64.lib');
Commits
-
Fix MSVC scripts when building with GSSAPI/Kerberos
- 7a4f2e158c0e 9.6.23 landed
- 8f507dbc6404 10.18 landed
- cf2e09544d92 11.13 landed
- a75268f1cbfb 12.8 landed
- ab81d004e401 13.4 landed
- 025110663448 14.0 landed