When I last worked with Postgres 8.2, I had to rename libpq.dll to pq.dll in order for it to work with FPC. The FPC postgres3 unit looks for "pq", but on Windows this does not expand to "libpq" like on Linux and OS X. Postgres3 unit probably needs an $IFDEF for Windows.
I copied libpq.dll to the client app folder, along with these .dll's: comerr32.dll libintl-2.dll libiconv-2.dll krb5_32.dll libeay32.dll ssleay32.dll See the OutKafe installer file (.iss) for how the DLL's are installed with OutKafe. Thanks. -Phil -----Original Message----- From: Alex du Plessis [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 6:01 AM To: [email protected] Subject: Re: [lazarus] Trouble with postgres Vincent Snijders wrote: > Alex du Plessis schreef: >> >> I did a re-install of postgres and now libpq is a .lib file. Any >> thoughts on what that file type might be? >> Seems the only workaround at the moment is to use odbc. With odbc at >> least I can get connected >> >> I still need to find out how to directly connect to postgres via >> sqldb and libpq. Any ideas on that matter will be greatly appreciated > > For your sake, I installed postgresql 8.3 and found libpq.dll in > C:\Program Files\PostgreSQL\8.3\bin > > Vincent > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > > Thank you Vincent. I then wonder what could have caused my installation to rename those files during installation. Thanx Alex _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
