Steve - DND schrieb:
>I just tried using createlang to install plpython into a database on my
>Windows 8.0 installation and continue to receive the error below. The file
>plpython.dll is in exactly the location specified below as well. What
>exactly am I doing wrong here?
>
>createlang -e -U postgres plpythonu junk
>Password:
>SELECT oid FROM pg_language WHERE lanname = 'plpythonu';
>SELECT oid FROM pg_proc WHERE proname = 'plpython_call_handler' AND
>prorettype =
> 'pg_catalog.language_handler'::regtype AND pronargs = 0;
>CREATE FUNCTION "plpython_call_handler" () RETURNS language_handler AS
>'$libdir/
>plpython' LANGUAGE C;
>CREATE LANGUAGE "plpythonu" HANDLER "plpython_call_handler";
>createlang: language installation failed: ERROR: could not load library
>"C:/Pro
>gram Files/PostgreSQL/8.0/lib/plpython.dll": dynamic load error
>
>Thanks,
>Steve
>
>
I have the same problems :
C:\Postgres\bin>createlang.exe -d template1 -U root plpythonu
createlang: language installation failed: ERROR: could not load library
"C:/postgres/lib/plpython.dll": dynamic load error
(library exists at this place...)
Daniel.