From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Sandow <ssandow@frey.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Error building Postgres for Windows
Date: Fri, 25 Oct 2019 09:53:46 -0400
Message-ID: <17079.1572011626@sss.pgh.pa.us> (raw)
In-Reply-To: <695a66f6-0cec-8cb5-fc57-5bc1ea148948@frey.de>
References: <695a66f6-0cec-8cb5-fc57-5bc1ea148948@frey.de>
Stephan Sandow <ssandow@frey.de> writes:
> i get 3 errors building the postgres server Version 12.0 for windows:
> plperl.obj : error LNK2019: unresolved external symbol "new_ctype" in
> Function "plperl_init_interp
> ". [C:\postgre_src\postgresql-12.0\plperl.vcxproj]
> plperl.obj : error LNK2019: unresolved external symbol "new_collate"
> in Function "plperl_init_inte
> rp". [C:\postgre_src\postgresql-12.0\plperl.vcxproj]
> plperl.obj : error LNK2019: unresolved external symbol "new_numeric"
> in Function "plperl_init_inte
> rp". [C:\postgre_src\postgresql-12.0\plperl.vcxproj]
> .\Release\plperl\plperl.dll : fatal error LNK1120: 3 nicht aufgelöste
> Externe [C:\postgre_src\postgresql-12.0\plperl.
> vcxproj]
I'm no Perl expert, but what this smells like is compiling against
a set of Perl header files that don't match the Perl library you're
linking to. Check for multiple Perl installations on your machine,
and pay attention to the include and link search paths that are being
used in your plperl build.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, ssandow@frey.de
Subject: Re: Error building Postgres for Windows
In-Reply-To: <17079.1572011626@sss.pgh.pa.us>
References: <695a66f6-0cec-8cb5-fc57-5bc1ea148948@frey.de> <17079.1572011626@sss.pgh.pa.us>
* 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