Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6C3789FA5D3 for ; Mon, 6 Aug 2007 10:59:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 30143-04 for ; Mon, 6 Aug 2007 10:59:34 -0300 (ADT) X-Greylist: delayed 00:12:27.746275 by SQLgrey-1.7.5 Received: from mailproc1.acceleration.net (mailproc1.acceleration.net [216.155.96.71]) by postgresql.org (Postfix) with ESMTP id 882089FB364 for ; Mon, 6 Aug 2007 10:59:34 -0300 (ADT) DomainKey-Signature: a=rsa-sha1; s=domainkeys; d=acceleration.net; c=nofws; q=dns; b=t1i5NOYC3jKS2v9raqTMg0QB7XrylAfyhXOrFpw0uec/JJeof8xNVXSy7oIQbBDfnJ4nEn66oUq8crGkCcxvLQ== Received: from [10.10.10.213] ([216.155.97.1]) by mailproc1.acceleration.net (VMS) with ASMTP (SSL) id LVB67105; Mon, 6 Aug 2007 09:47:05 -0400 Message-ID: <46B72658.70504@acceleration.net> Date: Mon, 06 Aug 2007 09:47:04 -0400 From: Ryan Davis User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: ekzept CC: pgsql-admin@postgresql.org Subject: Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python References: <1186175390.021204.318370@q75g2000hsh.googlegroups.com> In-Reply-To: <1186175390.021204.318370@q75g2000hsh.googlegroups.com> X-Enigmail-Version: 0.95.2 Content-Type: multipart/alternative; boundary="------------000204060108040305000100" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/31 X-Sequence-Number: 26362 This is a multi-part message in MIME format. --------------000204060108040305000100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Python is looks for them on a path, and I'm a little fuzzy on which path it was looking in, so I just copied the postgres DLLs into site-packages. I got this working by copying the following DLLs from C:\Program Files\pgAdmin III\1.6 to C:\Python25\Lib\site-packages: * comerr32.dll * krb5_32.dll * libiconv-2.dll * libintl-2.dll * libpq.dll After that my pgdb working like a charm. HTH, Ryan Davis Acceleration.net Director of Programming Services 2831 NW 41st street, suite B Gainesville, FL 32606 Office: 352-335-6500 x 124 Fax: 352-335-6506 ekzept wrote: > the module PGDB which gives Python access to PostgreSql currently > wants for a copy of a properly located or proper libpq.dll library, on > Windows. > > anyone know what the current story on this is? > > thanks, > > -- jt > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > > --------------000204060108040305000100 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Python is looks for them on a path, and I'm a little fuzzy on which path it was looking in, so I just copied the postgres DLLs into site-packages.

I got this working by copying the following DLLs from C:\Program Files\pgAdmin III\1.6 to C:\Python25\Lib\site-packages:
  • comerr32.dll
  • krb5_32.dll
  • libiconv-2.dll
  • libintl-2.dll
  • libpq.dll
After that my pgdb working like a charm.

HTH,
Ryan Davis
Acceleration.net
Director of Programming Services
2831 NW 41st street, suite B
Gainesville, FL 32606

Office: 352-335-6500 x 124
Fax: 352-335-6506


ekzept wrote:
the module PGDB which gives Python access to PostgreSql currently
wants for a copy of a properly located or proper libpq.dll library, on
Windows.

anyone know what the current story on this is?

thanks,

 -- jt


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

  
--------------000204060108040305000100--