psycopg2 problem with libpq.dll , Postgres 8.1.0 Win XP

Started by Zlatko Matićover 20 years ago2 messagesgeneral
Jump to latest
#1Zlatko Matić
zlatko.matic1@sb.t-com.hr

Hello.
I was using psycopg2/Python with Postgres 8.0.4, on Win XP.
Now, when I installed Postgres 8.1.0 and was trying to connect with Python/psycopg2, an error occured: "This application has failed to start because lipq.dl was not found. Re-installing the application may fix the problem."
What to do?

Thanks,

Zlatko

#2Magnus Hagander
magnus@hagander.net
In reply to: Zlatko Matić (#1)
Re: psycopg2 problem with libpq.dll , Postgres 8.1.0 Win XP

Hello.
I was using psycopg2/Python with Postgres 8.0.4, on Win XP.
Now, when I installed Postgres 8.1.0 and was trying to
connect with Python/psycopg2, an error occured: "This
application has failed to start because lipq.dl was not
found. Re-installing the application may fix the problem."
What to do?

Make sure libpq.dll is available to your application. Either by adding the directory containing it to the system PATH (if you're only ever going to have one version of postgresql on this machine), or by copying the file (and its dependencies) to the directory of the application (if you want to maintain the capability to have differnt versions on the same system).

//Magnus