Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iO02h-000375-3N for pgsql-general@arkaria.postgresql.org; Fri, 25 Oct 2019 13:54:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iO02f-0003eA-GJ for pgsql-general@arkaria.postgresql.org; Fri, 25 Oct 2019 13:54:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iO02f-0003e3-6N for pgsql-general@lists.postgresql.org; Fri, 25 Oct 2019 13:54:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iO02c-0005x1-I7 for pgsql-general@lists.postgresql.org; Fri, 25 Oct 2019 13:54:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9PDrkcA017080; Fri, 25 Oct 2019 09:53:46 -0400 From: Tom Lane To: Stephan Sandow cc: pgsql-general@lists.postgresql.org Subject: Re: Error building Postgres for Windows In-reply-to: <695a66f6-0cec-8cb5-fc57-5bc1ea148948@frey.de> References: <695a66f6-0cec-8cb5-fc57-5bc1ea148948@frey.de> Comments: In-reply-to Stephan Sandow message dated "Fri, 25 Oct 2019 12:45:40 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <17078.1572011626.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 25 Oct 2019 09:53:46 -0400 Message-ID: <17079.1572011626@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephan Sandow 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