Page 1 of 1

bds 2006 and postgre

Posted: 05.03.2007, 14:00
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

Posted: 05.03.2007, 14:49
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

Posted: 05.03.2007, 14:59
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

Posted: 05.03.2007, 15:24
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