pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ryan Davis <ryan@acceleration.net>
To: ekzept <bayesianlogic@acm.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
Date: Mon, 06 Aug 2007 09:47:04 -0400
Message-ID: <46B72658.70504@acceleration.net> (raw)
In-Reply-To: <1186175390.021204.318370@q75g2000hsh.googlegroups.com>
References: <1186175390.021204.318370@q75g2000hsh.googlegroups.com>

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
>
>   

view thread (3+ messages)  latest in thread

Message-ID: <46B72658.70504@acceleration.net>
Permalink:  ../46B72658.70504@acceleration.net/
Also on:    postgresql.org/message-id/46B72658.70504@acceleration.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ryan@acceleration.net, bayesianlogic@acm.org
  Subject: Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
  In-Reply-To: <46B72658.70504@acceleration.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox