Page 1 of 6

[patch_done] PostgreSQL64 + Lazarus 09.30.2+ windows 64 bit

Posted: 20.02.2012, 02:07
by elidorio2
Hello,
I'm having problems with Zeos (7.0.0-dev) and Lazarus 09.30.2, with windows 7 64 bit.
When trying to compile the error appears libpq.dll not found.
Anyone ever had this problem?

Edson

Posted: 20.02.2012, 16:05
by EgonHugeist
Which rev do you use?

Posted: 20.02.2012, 18:34
by marcov
Did you install libpq and all the other DLLs from the same distribution as your FPC (so 32-bit postgres if 32-bit FPC/Lazarus, 64-bit postgres if 64-bit FPC/Lazarus) into the same directory as your app?

Posted: 22.02.2012, 03:04
by elidorio2
Some DLLs are the Windows 64 bit and other are the same that I use windows 32.
Where do I find updated dll for Zeos / Postgresql 64 bit?

I'm using ZEOSDBO-7.0.0-alpha, and Lazarus 09.30.2 with windows 64 bit

Posted: 22.02.2012, 22:59
by ism
install postgress for 64 bit
http://www.enterprisedb.com/products-se ... ad#windows

and get required dll

C:\Program Files\PostgreSQL\9.1\bin

Posted: 04.04.2012, 02:22
by elidorio2
I did this procedure and it does not work.
message appears none of the dynamic libraries Can Be found: libpq81.dll, libpq.dll

Posted: 04.04.2012, 08:51
by jeremicm
copy dll's to windows\system32 folder and it should be ok...

Posted: 04.04.2012, 12:24
by elidorio2
Already performed these procedures and the same problem occurs.
lazarus you use with Windows 7 64?

Posted: 04.04.2012, 19:06
by EgonHugeist
elidorio2,

I'm not sure, couldn't it be possible that W64 uses a new system-folder for the 64Bit dll's instead of \system32\?

My and Marcov's proposal: copy the 64 bit dll's to your application folder. If this solves your problem, then you've to put the required dll's to the new system folder systemxxx???.

best regards

Posted: 04.04.2012, 19:29
by elidorio2
In windows 7 64 bit, use the folder SysWOW64 instead of System32.
Have copy the dll to SysWOW64 and also not resolved.
Compie also to the application folder and also not resolved.
I do not know what else to do ...

Posted: 04.04.2012, 19:42
by EgonHugeist
Hmm which revision do you use here?

some informations concering the latest Zeos updates:
http://zeos.firmos.at/viewtopic.php?t=3431

follow this thread:
http://zeos.firmos.at/viewtopic.php?t=841

try the testing or testing-egonhugeist branch..

best regards

Posted: 04.04.2012, 19:51
by elidorio2
then,

The only version that installs on Zeos Lazarus 09.30.2 is: zeosdbo-7.0.0-alpha, does not install other versions, including that they are in svn.

Posted: 04.04.2012, 22:12
by EgonHugeist
So please tell me where did you download Zeos 7.0.0-apha?

Posted: 05.04.2012, 01:21
by elidorio2
Excuse me it is okay to 7.0.0-dev.

Posted: 05.04.2012, 18:11
by EgonHugeist
No in this case not. It's possible that you're using the first Alpha 7.0.0 snapshot.

So it would be really the best if you read again the two threads i've posted before. Follow the steps. Install TortoiseSVN from SourceForge.Net, download the latest \testing or \testing-egonhugeist branch. So you're always up to date...

best regards