Обсуждение: How to install plperl on Windows?

Поиск
Список
Период
Сортировка

How to install plperl on Windows?

От
Werner Bohl
Дата:
Hi,

Hope someone can help me with this. Installed
postgresql-8.0-beta2-dev3.msi, then installed Perl 5.8: activeperl5.8.4.
When issuing a createlang plperl <DB_NAME> it errs with:
createlang: Language installation failed: ERROR could not load library
"C:\Program Files\PostgreSQL\8.0-beta2-dev3\lib\plperl.dll": ERROR.

Perl @ PostgreSQL bin directories are in the path.

TIA,

--
Werner Bohl <WernerBohl@infutor.com>
Infutor de Costa Rica S.A.


Re: How to install plperl on Windows?

От
"Magnus Hagander"
Дата:
> Hi,
>
> Hope someone can help me with this. Installed
> postgresql-8.0-beta2-dev3.msi, then installed Perl 5.8:
> activeperl5.8.4.
> When issuing a createlang plperl <DB_NAME> it errs with:
> createlang: Language installation failed: ERROR could not
> load library "C:\Program
> Files\PostgreSQL\8.0-beta2-dev3\lib\plperl.dll": ERROR.
>
> Perl @ PostgreSQL bin directories are in the path.
>

Have you rebooted your machine after installing ActivePerl? If nto, you
will need to do that. The environment in a service only gets updated on
startup, and this includes the PATH variable.

If you have, or try and it still doesn't work, please try using
DEPENDS.EXE (available in your Windows 2000/2003/XP support tools on the
CD if you haven't already installed them) on plperl.dll to see if it can
resolve all externals (it will show you an erro rmessage and some nice
icons if something is broken)


//Magnus