pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error building Postgres for Windows
2+ messages / 2 participants
[nested] [flat]

* Error building Postgres for Windows
@ 2019-10-25 10:45 Stephan Sandow <ssandow@frey.de>
  2019-10-25 13:53 ` Re: Error building Postgres for Windows Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Stephan Sandow @ 2019-10-25 10:45 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hello,

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]

My config.pl:
$config->{perl} = 'C:\Perl64';

There is Active Perl 5.28

Iam using the x64 Native Tools Command Prompt from Visual Studio 2019

Any help would be greatly appreciated.

Stephan Sandow






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error building Postgres for Windows
  2019-10-25 10:45 Error building Postgres for Windows Stephan Sandow <ssandow@frey.de>
@ 2019-10-25 13:53 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-10-25 13:53 UTC (permalink / raw)
  To: Stephan Sandow <ssandow@frey.de>; +Cc: pgsql-general@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-25 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 10:45 Error building Postgres for Windows Stephan Sandow <ssandow@frey.de>
2019-10-25 13:53 ` Tom Lane <tgl@sss.pgh.pa.us>

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