Re: plperl.dll error from create langauge plperl (XP Pro 64 bit)

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Doug Knight <dknight(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: plperl.dll error from create langauge plperl (XP Pro 64 bit)
Date: 2007-11-09 20:35:39
Message-ID: 4734C49B.5010907@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Doug Knight wrote:
> All,
> I am building an XP Pro 64 bit system, where I have installed the
> latest PostgreSQL binary distribution (8.2.5-1). Everything loaded
> fine, I have postgres up and running as a service, installed ActiveTcl
> and ActivePerl, enabled PostGIS, etc. I can do the CREATE LANGUAGE
> 'pgtcl' successfully, but I get the following error when I try to
> CREATE LANGUAGE 'plperl'
>
> ERROR: could not load library "C:/Program Files
> (x86)/PostgreSQL/8.2/lib/plperl.dll": %1 is not a valid Win32 application.
>
> Has anyone encountered this error with the binary install in question,
> or has anyone attempted on XP Pro 64 bit? If this is a 32 vs 64 bit
> issue, our plan is to eventually run on a 32 bit version, but 64 bit
> is all I currently have access to.
>
>

It's almost certainly a 32 vs 64 bit issue. Do you have the 32bit or
64bit perl installed?

We have not got support for 64-bit binaries on Windows yet.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug Knight 2007-11-09 20:41:21 Re: plperl.dll error from create langauge plperl (XP Pro 64 bit)
Previous Message Pavel Stehule 2007-11-09 20:35:20 Re: functions are returns columns