bds 2006 and postgre

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Napfton
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 05.03.2007, 13:54

bds 2006 and postgre

Post by Napfton »

Hey folks!

i just installed the newest zeos in my bds 2006 and it worked just fine.

the only problem is: i try to connect per zconnection on my postgresql 8.2 db and i get the error message 'None of the dynamic libraries can be found: libpq.dll, libpq81.dll'

i already tried to store those 2 files which ive found in the zeos and in the postgre install dir into windows/system32, in the exe path and in the bds/lib path without success!

where shall i store those 2 files for being able to establish a connection to my postgresql db?

EDIT1: ok now i tried postgre 7 as protocol and this error vanished! why?
btw next error is now: 'Requested database driver was not found' im going to fix this if i can, advices appreciated :>

greetings

napfton
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

You'll also need to put the following files in the system32 folder (or your programs folder):

comerr32.dll
iconv.dll
krb5_32.dll
libeay32.dll
libiconv-2.dll
libintl-2.dll
ssleay32.dll

which you can find in the bin folder of a windows version of a PostgreSQL install.

Regards,

Ben
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

BTW you could just use PostgreSQL-7 protocol and the libpq73.dll. I don't think ZeosLib uses much, if any of the new features available in the new dlls.

Regards,

Ben
Napfton
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 05.03.2007, 13:54

Post by Napfton »

thx, so far it also works with postgres-8 and 7, i put the dlls you said into my system32 dir...

edit1: shot too fast, works now!


greetings
Post Reply