Re: Can't install plpython on Windows 8.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Steve - DND" <postgres(at)digitalnothing(dot)com>
Cc: "postgres-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't install plpython on Windows 8.0
Date: 2005-04-08 21:17:15
Message-ID: 17048.1112995035@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Steve - DND" <postgres(at)digitalnothing(dot)com> writes:
>> createlang: language installation failed: ERROR: could not load library
>> "C:/Program Files/PostgreSQL/8.0/lib/plpython.dll": dynamic load error

> Actually I just tried createlang with all of the pls(except plpgsql which is
> already installed). All of them fail with the same error.

Probably the problem has to do with not finding the underlying
language's DLL (eg, python.dll). Unfortunately you're only seeing
"dynamic load error" in place of the actually useful information.
Someone needs to improve the stub in win32.c:

char *
dlerror(void)
{
return "dynamic load error";
}

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Schuchardt 2005-04-08 21:21:03 Re: Can't install plpython on Windows 8.0
Previous Message Tom Lane 2005-04-08 19:04:35 Re: Index use with left join