pl/perl extension fails on Windows

From: Muralikrishna Bandaru <muralikrishna(dot)bandaru(at)enterprisedb(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: pl/perl extension fails on Windows
Date: 2024-09-10 10:20:43
Message-ID: CA+uec8DHo92L25mac6=yrZTcP6wAnmkMbxqk47RfCf3MzY39fA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,
I built PG17 rc1 using meson on Windows with the option "-Dplperl=enabled"
. When I tried to create the extension,it crashed the database.
--
postgres=# create extension plperl;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

The log contains the following error.

*src/pl/plperl/Util.c: loadable library and perl binaries are mismatched
(got first handshake key 0000000012d00080, needed 0000000012c00080)*
--
This issue is seen with strawberry perl *5.40* not with *5.38* . The Perl
that is used during compilation and on the target machine is the same.

I have used strawberry perl 5.40 , which is available in the strawberry
perl home page <https://strawberryperl.com/> ,but 5.40 is not
available in the release page <https://strawberryperl.com/releases.html> .
So, is it recommended to use perl 5.40 ?

Please let me know if you need any other information.

Thanks,
Murali krishna.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Dunstan 2024-09-10 11:51:35 Re: pl/perl extension fails on Windows
Previous Message hubert depesz lubaczewski 2024-09-10 07:52:56 Re: BUG #18607: UNION ALL discards all foreign key relations + indexes