| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Bidski <bidski(at)bigpond(dot)net(dot)au> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Libpq.dll: File not recognized |
| Date: | 2010-07-01 07:40:59 |
| Message-ID: | AANLkTinfgjyXg242zQO0tMWQyakbxRyGKcJwLE8qA3-d@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Wed, Jun 30, 2010 at 11:23 PM, Bidski <bidski(at)bigpond(dot)net(dot)au> wrote:
> Hi all,
>
> I downloaded the "one-click" installer for PostgreSQL 9.0 beta2 for Windows
> x64 (postgresql-9.0.0-beta2-windows-x64.exe) and installed it on my Windows
> 7 64 bit system. Installation seemed to go off without a hitch, but when I
> tried to link to libpq in my project I received the following error.
>
>
> C:\Program Files\PostgreSQL\lib/libpq.dll: file not recognized: File
> format not recognized
Don't link against the DLL, link against the .lib.
> Some system info.....
>
> OS: Windows 7 64-bit
>
> MSYS ver: 1.0.14
>
> MinGW ver: 4.5.0
>
> Make ver: GNU make 3.81
>
> If it matters ..... My IDE is Eclipse Galileo and I am compiling my project
> using the MinGW toolchain.
The server is built with VC++ 2008 - I have no idea if Mingw can use
64bit VC++ libraries.
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bidski | 2010-07-01 08:00:17 | Re: Libpq.dll: File not recognized |
| Previous Message | Bidski | 2010-06-30 23:00:04 | Re: Libpq.dll: File not recognized |