Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 89A8E1337B59 for ; Fri, 1 Oct 2010 16:36:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 99535-09 for ; Fri, 1 Oct 2010 19:36:10 +0000 (UTC) X-Greylist: delayed 00:07:40.797914 by SQLgrey-1.7.6 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mail.postgresql.org (Postfix) with ESMTP id 9C337133655C for ; Fri, 1 Oct 2010 16:36:09 -0300 (ADT) Received: by fxm14 with SMTP id 14so851655fxm.19 for ; Fri, 01 Oct 2010 12:36:08 -0700 (PDT) Received: by 10.102.220.19 with SMTP id s19mr2353938mug.115.1285961307637; Fri, 01 Oct 2010 12:28:27 -0700 (PDT) Received: from sidon.consistentstate.com (173-164-51-9-colorado.hfc.comcastbusiness.net [173.164.51.9]) by mx.google.com with ESMTPS id d15sm3784823faa.3.2010.10.01.12.28.25 (version=SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 12:28:26 -0700 (PDT) Message-ID: <4CA63676.6020106@consistentstate.com> Date: Fri, 01 Oct 2010 13:28:54 -0600 From: Brian Fehrle User-Agent: Thunderbird 2.0.0.24 (X11/20100903) MIME-Version: 1.0 To: pgsql-admin Subject: creating language plperl fails in windows 7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/15 X-Sequence-Number: 35756 Hi all, I've been tasked with getting postgresql 8.3 set up on a Windows 7 box. I have zero experience with Windows 7, and very little with Windows in general so I'm having some trouble. I installed postgres 8.3 using EnterpriseDB's one click installer. I need to import a sql file I created from my linux box from a pg_dump, which includes some functions that depend on plperl. I log into a psql terminal and run CREATE LANGUAGE plperl; ERROR: could not load library "C:/Program Files (x86)/PostgreSQL/8.3/lib/plperl.dll": The specified module could not be found. I looked in that location and the plperl.dll does exist. I checked permissions, both the user account postgres and the user account I'm logged into windows have permissions on it. I then realized I did not have perl installed, so I installed ActivePerl, verified that the perl command works for the postgres user, restarted the Postgres cluster, and tried the create language plperl again, but I get the same error. I'm not fully sure what to do here. I don't have the ability to reboot the whole system (I hear turning it off and on again works with windows). Thanks in advance for any help possible. Brian F