Re: Installing PLPython - Version Problem - Mailing list pgsql-general

From Dave Page
Subject Re: Installing PLPython - Version Problem
Date
Msg-id 937d27e10903300055g5792ed04k22ccbb42654e40ae@mail.gmail.com
Whole thread Raw
In response to Installing PLPython - Version Problem  (ray <Ray.Joseph@CDICorp.com>)
List pgsql-general
On Mon, Mar 30, 2009 at 1:51 AM, ray <Ray.Joseph@cdicorp.com> wrote:
> I am trying to get Python 2.6 and PostgreSQL 8.3 to work together
> under Windows 2000.
>
> When I try to add Python to PostgreSQL via:
> createlang plpythonu dbname
>
> But when doing so, I get an error:
> createlang: language installation failed: ERROR:  could not load
> library "C:/Program Files/PostgreSQL/8.3/lib/createlang: language
> installation failed: ERROR:  could not load library "C:/Program Files/
> PostgreSQL/8.3/lib/plpython.dll": The specified module could not be
> found."
>
> So I Used "depends" to walk the references of plpython.dll, I found
> that it can not find python25.dll.  Since I have 2.6, only
> python26.dll is in ...system32.
>
> 1) The first question is how do I get this stack to look for the 2.6
> version?

Recompile PostgreSQL to use Python 2.5.

Any renaming etc. will lead to pain. The DLLs include the version
number precisely because they are not compatible.


--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Eric Smith
Date:
Subject: Re: running two servers on one machine
Next
From: Thomas Kellerer
Date:
Subject: Re: New shapshot RPMs (Mar 27, 2009) are ready for testing