Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python

From: Ryan Davis <ryan(at)acceleration(dot)net>
To: ekzept <bayesianlogic(at)acm(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
Date: 2007-08-06 13:47:04
Message-ID: 46B72658.70504@acceleration.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message ekzept 2007-08-06 20:43:01 Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
Previous Message j a 2007-08-05 21:07:32 Recovery from Current WAL (8.2)