Thread: BUG #1957: Error for createlang

BUG #1957: Error for createlang

From
"Eduard Wulff"
Date:
The following bug has been logged online:

Bug reference:      1957
Logged by:          Eduard Wulff
Email address:      abo@eduard-wulff.de
PostgreSQL version: 8.1 beta2
Operating system:   Windows XP SP1 DE
Description:        Error for createlang
Details:

I can't add any additional languages e.g. perl tcl

createlang.exe -U postgres -e plperl template1

gives:
createlang: Installation der Sprache fehlgeschlagen: ERROR:  could not load
library "D:/dapps/PostgreSQL/8.1-beta2/lib/plperl.dll": Das angegebene Modul
wurde nicht gefunden.

same for tcl

for python:
createlang: Installation der Sprache fehlgeschlagen: ERROR:  unsupported
language "plpython"
TIP:  The supported languages are listed in the pg_pltemplate system
catalog.

plpython is listed there ...

I tried changing the slashes to back-slashes in
\data\global\config_exec_params to no avail

perl or ruby works on this machine. perl is in the path.

Re: BUG #1957: Error for createlang

From
Michael Fuhr
Date:
On Wed, Oct 12, 2005 at 11:02:26AM +0100, Eduard Wulff wrote:
> createlang.exe -U postgres -e plperl template1
>
> gives:
> createlang: Installation der Sprache fehlgeschlagen: ERROR:  could not load
> library "D:/dapps/PostgreSQL/8.1-beta2/lib/plperl.dll": Das angegebene Modul
> wurde nicht gefunden.
>
> same for tcl
>
> for python:
> createlang: Installation der Sprache fehlgeschlagen: ERROR:  unsupported
> language "plpython"
> TIP:  The supported languages are listed in the pg_pltemplate system
> catalog.
>
> plpython is listed there ...

I don't know about the plperl or pltcl problems, but are you sure
"plpython" is in pg_pltemplate?  "plpythonu" should be there but
not "plpython", at least not in a distribution built from the
unmodified source code.

--
Michael Fuhr