Re: [BUGS] Libpq.dll: File not recognized

2010-07-01 Thread Dave Page
On Thu, Jul 1, 2010 at 9:00 AM, Bidski wrote: > "Dave Page" writes: >> >> Don't link against the DLL, link against the .lib. > > Isnt the .lib the static library and the dll the shared library? No, it should be the import library for the DLL. > And Im not > linking against the dll specifically,

Re: [BUGS] Libpq.dll: File not recognized

2010-07-01 Thread Bidski
"Dave Page" writes: Don't link against the DLL, link against the .lib. Isnt the .lib the static library and the dll the shared library? And Im not linking against the dll specifically, that is the library that g++ is wanting to link to. My link command is g++ -Wl,--enable-auto-import -o

Re: [BUGS] Libpq.dll: File not recognized

2010-07-01 Thread Dave Page
On Wed, Jun 30, 2010 at 11:23 PM, Bidski 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 > tri

Re: [BUGS] Libpq.dll: File not recognized

2010-06-30 Thread Bidski
John R Pierce writes: look and see if there's another /lib64/ or similar directory ? Nope, no lib64 directory or anything like that, just lib directory. I didn't notice earlier that you are running the postgres 9 beta. Yep, Im running PostgreSQL 9.0 beta2 Regards Bidski -- Sent via pgsql

Re: [BUGS] Libpq.dll: File not recognized

2010-06-30 Thread John R Pierce
On 06/30/10 3:40 PM, Bidski wrote: John R Pierce writes: wild guess says your project is 64 bit, but libpq.dll is 32 bit. Why would there be a 32bit dll in the 64bit pre-built package? look and see if there's another /lib64/ or similar directory ? I didn't notice earlier that you are runni

Re: [BUGS] Libpq.dll: File not recognized

2010-06-30 Thread Bidski
: Subject: Re: [BUGS] Libpq.dll: File not recognized On 06/30/10 3:23 PM, Bidski 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

Re: [BUGS] Libpq.dll: File not recognized

2010-06-30 Thread John R Pierce
On 06/30/10 3:23 PM, Bidski 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 i

[BUGS] Libpq.dll: File not recognized

2010-06-30 Thread Bidski
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 followin